Admin APIadmin-api reference
Move uma story aplicando gates de posse, evidência e aprovação
Authorization
sessionAuth next-auth.session-token<token>
NextAuth.js v5 JWT session cookie. The admin console uses session-based auth; service-to-service callers should use a future API-key scheme.
In: cookie
Path Parameters
id*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/pm/stories/string/move" \ -H "Content-Type: application/json" \ -d '{ "newStatus": "backlog", "expectedUpdatedAt": "2019-08-24T14:15:22Z", "reason": "string" }'Empty
{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}{
"success": false,
"error": "string",
"code": "UNAUTHORIZED"
}