Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

200 OK When request is valid and value was updated

Body: OK

Code Block
{
    "status": "SUCCESS",
    "message": "Macro for pageId 1979514881 has been updated!"
}

400 BAD REQUEST When request is invalid

...

token = the access token (scope must be WRITE and projects space must match issue projectspaceKey)

spaceKey = the spaceKey to store the page with macro config on.

...

200 OK When request is valid and value was updated

Body: OK

400 BAD REQUEST When request is invalid

Body:

Code Block
{
    "status": "SUCCESS",
    "message": "Page has been created with Macro for space fff, new page(s) are 1979514881",
    "newPages": [
        "1979514881"
    ]
}

400 BAD REQUEST When request is invalid

Body:Bad Request

Info

Note: Verify parameters to resolve this issue

...

token = the access token (scope must be WRITE and projects spaces must match issue projectboth spaceKey for destination space and page space)

spaceKey = the spaceKey to store the page with macro config on.

pageId = the page to store read the macro config on values from

...