Changes
Page history
Update New Restful Plan
authored
Oct 07, 2022
by
Derek Williams
Show whitespace changes
Inline
Side-by-side
New-Restful-Plan.md
View page @
ebdc0c2a
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
| /quests/{questID}/objectives/create | POST | |
| /quests/{questID}/objectives/create | POST | |
| /quests/{questID}/objectives/{objectiveID} | GET | |
| /quests/{questID}/objectives/{objectiveID} | GET | |
| /quests/{questID}/objectives/{objectiveID}/complete | POST | |
| /quests/{questID}/objectives/{objectiveID}/complete | POST | |
| /players | GET | |
| /players | GET |
[
Successful
](
New-Restful-Plan#player-list
)
|
| /players/create | POST | |
| /players/create | POST | |
| /players/{playerID} | GET | |
| /players/{playerID} | GET | |
| /players/{playerID}/quests | GET | |
| /players/{playerID}/quests | GET | |
...
@@ -105,3 +105,27 @@ GET /quest
...
@@ -105,3 +105,27 @@ GET /quest
}
}
}
}
```
```
# Player List
## Request
```
http
GET /players
```
## Response
```
json
{
"1"
:
{
"id"
:
1
,
"name"
:
"merlin"
,
"crew"
:
"Out of Bounds"
,
"major"
:
"Software Engineering"
},
"2"
:
{
"id"
:
2
,
"name"
:
"chuo"
,
"crew"
:
"Off By One"
,
"major"
:
"Software Engineering"
}
}
```
\ No newline at end of file