PATCH/spaces/api/v1/spaces/pluginstates/{pluginstateID}.json

update a pluginstate

Path Params

  • Name
    pluginstateID
    Type
    integer
    required
    Description

Body Params

    • Name
      pluginstate
      Type
      object
      Description
      PluginStateUpdate is used for partial updates to a PluginState record. As many or few fields can be supplied and only those supplied will be updated in the 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-10-10T18:19:43.547Z",
        "createdBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "data": "string",
        "deletedAt": "2024-10-10T18:19:43.547Z",
        "deletedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "id": 0,
        "page": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "updatedAt": "2024-10-10T18:19:43.547Z",
        "updatedBy": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      }
    }