{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tines REST Actions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Actions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List actions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenantDomain}/api/v1/actions",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination (default 1)"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of results per page (default 20, max 500)"
              },
              {
                "name": "story_id",
                "value": "",
                "type": "query",
                "description": "Filter actions by story ID"
              }
            ]
          },
          "docs": "Returns a paginated list of actions."
        },
        {
          "info": {
            "name": "Create an action",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{tenantDomain}/api/v1/actions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new action within a story."
        },
        {
          "info": {
            "name": "Get an action",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenantDomain}/api/v1/actions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique numeric identifier of the resource"
              }
            ]
          },
          "docs": "Returns details for a specific action by ID."
        },
        {
          "info": {
            "name": "Update an action",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{tenantDomain}/api/v1/actions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique numeric identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing action by ID."
        },
        {
          "info": {
            "name": "Delete an action",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{tenantDomain}/api/v1/actions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique numeric identifier of the resource"
              }
            ]
          },
          "docs": "Deletes an action by ID."
        }
      ]
    }
  ],
  "bundled": true
}