Skip to content

Commit

Permalink
Merge pull request #50 from nextcloud/docs_update
Browse files Browse the repository at this point in the history
correct message for 403 status when creating releases
  • Loading branch information
BernhardPosselt committed Jun 23, 2016
2 parents ae17d06 + 5a14615 commit 6d76fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/restapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The following request will create a new app release:
* **HTTP 201**: If the app release was created successfully
* **HTTP 400**: If the app contains invalid data, is too large or could not be downloaded
* **HTTP 401**: If the user is not authenticated
* **HTTP 403**: If the user is not authorized to delete the app release
* **HTTP 403**: If the user is not authorized to create or update the app release

If there is no app with the given app id yet, a new app is created and the owner is set in to the logged in user. Then the **info.xml** file which lies in the compressed archive's folder **app-id/appinfo/info.xml** is being parsed and validated. The validated result is then saved in the database. Both owners and co-maintainers are allowed to upload new releases.

Expand Down

0 comments on commit 6d76fd0

Please sign in to comment.