Set Queries And Watches
- Http Method
- POST
- End Point
-
/~api/users/{userId}/queries-and-watches
Placeholder Description Example {userId} User Id 1 - Request Body
-
- Content Type
- application/json
- Example
-
{
"projectQueries" : [ {"name" : "string" ,"query" : "string""issueQueries" : [ {"name" : "string" ,"query" : "string""issueQueryWatches" : {"string" : true"pullRequestQueries" : [ {"name" : "string" ,"query" : "string""pullRequestQueryWatches" : {"string" : true"buildQueries" : [ {"name" : "string" ,"query" : "string""buildQuerySubscriptions" : [ "string" ]
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- No response body
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/users/1/queries-and-watches