{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ghost Content and Admin APIs Admin - Images Admin - Posts API",
    "version": "5.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "key",
      "value": "{{key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Admin - Posts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Browse posts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{admin_domain}/ghost/api/admin/posts/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-separated related data to include (for example authors,tags)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Ghost NQL filter expression."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of records per page (default 15, or 'all')."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number of results to return."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Sort order, for example 'published_at desc'."
              },
              {
                "name": "formats",
                "value": "",
                "type": "query",
                "description": "Content formats to return, for example 'html,lexical'."
              }
            ]
          },
          "docs": "Browse posts"
        },
        {
          "info": {
            "name": "Create a post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{admin_domain}/ghost/api/admin/posts/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "source",
                "value": "",
                "type": "query",
                "description": "Set to 'html' to supply post/page content as HTML instead of Lexical."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a post"
        },
        {
          "info": {
            "name": "Read a post by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{admin_domain}/ghost/api/admin/posts/:id/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource ID."
              },
              {
                "name": "formats",
                "value": "",
                "type": "query",
                "description": "Content formats to return, for example 'html,lexical'."
              }
            ]
          },
          "docs": "Read a post by ID"
        },
        {
          "info": {
            "name": "Update a post",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{admin_domain}/ghost/api/admin/posts/:id/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource ID."
              },
              {
                "name": "source",
                "value": "",
                "type": "query",
                "description": "Set to 'html' to supply post/page content as HTML instead of Lexical."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a post. The current updated_at value must be supplied in the payload for collision detection."
        },
        {
          "info": {
            "name": "Delete a post",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{admin_domain}/ghost/api/admin/posts/:id/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The resource ID."
              }
            ]
          },
          "docs": "Delete a post"
        },
        {
          "info": {
            "name": "Read a post by slug",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{admin_domain}/ghost/api/admin/posts/slug/:slug/",
            "headers": [
              {
                "name": "Accept-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "The resource slug."
              }
            ]
          },
          "docs": "Read a post by slug"
        }
      ]
    }
  ],
  "bundled": true
}