simpla.fydocs

Move uma story aplicando gates de posse, evidência e aprovação

POST
/api/pm/stories/{id}/move

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
Length1 <= length

Request 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"
}