Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #29 from DainWs/documentation/Comments-in-JSONs-no…
Browse files Browse the repository at this point in the history
…t-allowed

documentation/Comments in JSONs not allowed
  • Loading branch information
DainWs authored Jun 7, 2022
2 parents 1ea5b41 + 58f4e22 commit bf1086d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions void-eye-games-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Here you have a example of a request that requires permissions:
"accountType": 1
},
"data": {
...[your body post data]...
"":"...[your body post data]..."
}
}
```
Expand Down Expand Up @@ -182,42 +182,42 @@ This section is to show a **example of object type data** as **json object**
"id":"1",
"name":"[name]",
"descripcion":"[description]",
"medias":[ // list of images/videos of this game
"medias":[
{
"id":"1",
"name":"image/png",
"gamesId":"1",
"mediaType":"image/png"
}
],
"plataforms_games":[ // Game to plataform relationship, with the prices and others
"plataforms_games":[
{
"plataformsId":"6",
"gamesId":"1",
"price":"12.40",
"priceUnit":"USD",
"discount":"0.00",
"isEnabled":"1",
"plataforms":{ // The plataform of this relation
"plataforms":{
"id":"6",
"name":"[Plataform name]",
"url":"[Plataform url]"
}
}
],
"categories":[ // categories of this game
"categories":[
{
"id":"1",
"name":"Accion"
}
],
"comments":[ // comments about this game
"comments":[
{
"id":"1",
"usersId":"2",
"gamesId":"1",
"description":"Un comentario de ejemplo",
"users":{ // the user that comments the game
"users":{
"id":"2",
"name":"Juan Alverto"
}
Expand All @@ -231,7 +231,7 @@ This section is to show a **example of object type data** as **json object**
{
"id":"1",
"name":"Accion",
"games":[ // games in this category (minimized)
"games":[
{
"id":"1",
"name":"[Game name]",
Expand All @@ -247,7 +247,7 @@ This section is to show a **example of object type data** as **json object**
"id":"1",
"name":"[Plataform name]",
"url":"https:/[Plataform domain]/",
"plataforms_games":[// The games relationship selled for this plataform, with the price and details
"plataforms_games":[
{
"plataformsId":"1",
"gamesId":"1",
Expand All @@ -257,7 +257,7 @@ This section is to show a **example of object type data** as **json object**
"isEnabled":"1"
}
],
"games":[// The games selled for this plataform (minimized)
"games":[
{
"id":"1",
"name":"[Game name]",
Expand Down

0 comments on commit bf1086d

Please sign in to comment.