POST/spaces/api/v1/spaces/pluginstates.json

create a pluginstate

Body Params

    • Name
      pluginstate
      Type
      object
      Description
      PluginStateCreate adds a new PluginState to the data store.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
    • Code
      404
      Type
      object
      Schema
      Description
      404 Not Found
    • Code
      500
      Type
      object
      Schema
      Description
      500 Internal Server Error

    Examples

    200 OK

    PluginState
    {
      "pluginstate": {
        "LinkedInstallation": {
          "installation": {
            "id": 0,
            "meta": {},
            "type": "string"
          }
        },
        "createdAt": "2024-11-07T11:40:20.844Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "data": "string",
        "deletedAt": "2024-11-07T11:40:20.844Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "id": 0,
        "page": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "updatedAt": "2024-11-07T11:40:20.844Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    }