change-requests

Manage change requests made by users.

get /change-requests

Arguments
  • No arguments...

Definition
get /change-requests
Attributes
  • idinteger

    -

  • descriptionstring

    -

  • createdByobject

    -

    • idinteger

      -

    • namestring

      -

  • affectedObjectstring

    -

  • changesarray

    -

    • typestring

      -

  • statestring

    [PENDING, APPROVED, REJECTED]

Example response
[ { "id": 0, "description": "string", "createdBy": { "id": 0, "name": "string" }, "affectedObject": "string", "changes": [ { "type": "string" } ], "state": "PENDING" } ]

post /change-requests/{id}/approve

Arguments
  • idrequiredinteger

    -

Definition
post /change-requests/{id}/approve
Attributes
  • statusCodeinteger

    -

  • idinteger

    -

  • startedBystring

    -

  • startedAtinteger

    -

  • doneboolean

    -

  • namestring

    -

  • statestring

    [WAITING, RUNNING, FINISHED, FAILED, CANCELED]

  • objectstring

    -

  • outputstring

    -

Example response
{ "statusCode": 0, "id": 0, "startedBy": "string", "startedAt": 0, "done": true, "name": "string", "state": "WAITING", "object": "string", "output": "string" }

post /change-requests/{id}/reject

Arguments
  • idrequiredinteger

    -

Definition
post /change-requests/{id}/reject