Skip to content

Commit

Permalink
Correct 'person/<userid>/token' post method in apidocs
Browse files Browse the repository at this point in the history
The post method does not use the 'cmd' parameter.

The 'project' is only used in combination with the 'package'.
This action will never create a token for a specific project, only for a package.
  • Loading branch information
saraycp committed Jan 21, 2021
1 parent 6a22f87 commit d444bd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/api/api/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,8 @@ POST /person/<userid>/token
Create a new authentication token for this user. It may be limited for a specific package
via optional project&package parameters.

cmd: create
project: create a token for a specific project
package: create a token for a specific package
project: together with package, used to create a token for a specific package
package: together with project, used to create a token for a specific package
operation: runservice(default), rebuild, release

XmlResult: status
Expand Down

0 comments on commit d444bd9

Please sign in to comment.