show plans

post

/V0/nosql/admin/plans

Shows details of the specified plan or list all plans that have been created along with their corresponding plan IDs and status.

  • last: shows details of the most recent plan
  • id: shows details of the plan with the given id. If num is also given, list num plans, starting with plan id specified.
  • num: sets the number of plans to list. Defaults to 10.
  • from: lists plans after the date specified.
  • to: lists plans before the date specified.

Combining from with to describes the range between the two dates. Otherwise num applies.

If none of the above arguments are specified, the ten most recent plans are listed.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{
    "command":"show",
    "arguments":[
        {
            "last":"true|false Whether to show the last plan was executed"
        },
        {
            "id":"Id of the plan to show"
        },
        {
            "from":"Start date of plans to show"
        },
        {
            "to":"End date of plans to show"
        },
        {
            "num":"Maximum number of plans"
        }
    ]
}
Nested Schema : arguments
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : argumentValue
Match One Schema
Show Source
Back to Top

Response

Supported Media Types

200 Response

Operation ended successfully
Body ()
Root Schema : commonResponse
Type: object
Show Source
Example:
{
    "operation":"operation executed",
    "returnCode":"5000 when success, 5100 infers illegal command, 5200 - 5500 infers connection/resource/internal problem at execution",
    "description":"error description when returnCode != 5000",
    "returnValue":"JSON object with the output returned by the command when returnCode: 5000(success). Otherwise, null"
}
Nested Schema : returnValue
Type: object
Back to Top