canmove, Confirmed users
6,439
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
! Parameters | ! Parameters | ||
! Description | ! Description | ||
|- | |||
| /releases | |||
| GET | |||
| | |||
| Retrieves all release names | |||
|- | |- | ||
| /release/[name] | | /release/[name] | ||
Line 16: | Line 21: | ||
| PUT | | PUT | ||
| details - the JSON blob associated with this release | | details - the JSON blob associated with this release | ||
| Update the release with the supplied JSON data. If non-existent, it is created. | | Update the release with the supplied JSON data. If non-existent, it is created. Be careful when using this for existing releases that already have builds added to them -- the JSON blob given here overrides all data for the release, not just platform independent data. | ||
|- | |- | ||
| /release/[name] | | /release/[name] | ||
Line 23: | Line 28: | ||
| Delete the release | | Delete the release | ||
|- | |- | ||
| /release/[name]/[platform]/[locale] | | /release/[name]/builds | ||
| GET | |||
| | |||
| Retrieve all builds from a release | |||
|- | |||
| /release/[name]/builds/[platform]/[locale] | |||
| GET | | GET | ||
| | | | ||
| Retrieve a specific build from a release | | Retrieve a specific build from a release | ||
|- | |- | ||
| /release/[name]/[platform]/[locale] | | /release/[name]/builds/[platform]/[locale] | ||
| PUT | | PUT | ||
| details - the JSON blob associated with this build | | details - the JSON blob associated with this build | ||
| Update the build with the supplied JSON data. If non-existent, it is created. | | Update the build with the supplied JSON data. If non-existent, it is created. | ||
|- | |||
| /release/[name]/builds/[platform]/[locale] | |||
| DELETE | |||
| | |||
| Delete the build | |||
|- | |- | ||
| rowspan=15 | /rule | | rowspan=15 | /rule | ||
Line 75: | Line 90: | ||
| Same as /rule POST | | Same as /rule POST | ||
| Update the rule with the supplied parameters. Any missing parameters will be considered NULL. | | Update the rule with the supplied parameters. Any missing parameters will be considered NULL. | ||
|- | |||
| /rule/[id] | |||
| DELETE | |||
| | |||
| Delete the rule | |||
|} | |} |