{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ghost Admin Authors Tags API",
    "version": "5.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tags",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Browse tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return in the response."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Apply fine-grained filters using Ghost's NQL query language."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of resources to return per page. Defaults to 15."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated results. Defaults to 1."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Field and direction to order results by."
              }
            ]
          },
          "docs": "Retrieve a paginated list of all tags, including internal tags."
        },
        {
          "info": {
            "name": "Create a tag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new tag. The name field is required. Tags with names starting with a hash character are treated as internal tags."
        },
        {
          "info": {
            "name": "Read a tag by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return in the response."
              }
            ]
          },
          "docs": "Retrieve a single tag by its unique identifier."
        },
        {
          "info": {
            "name": "Update a tag",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing tag by its unique identifier."
        },
        {
          "info": {
            "name": "Delete a tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Permanently delete a tag by its unique identifier."
        },
        {
          "info": {
            "name": "Read a tag by slug",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{site}.ghost.io/ghost/api/admin/tags/slug/:slug/",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "The URL slug of the resource"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Include a count of posts associated with each tag."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return in the response. Use this to limit the size of the response by only requesting the fields you need."
              }
            ]
          },
          "docs": "Retrieve a single tag by its URL slug."
        }
      ]
    }
  ],
  "bundled": true
}