JustBlogged Pages API

Static page management

GitHub OpenAPI

Operations 5

GET /blogs/{blogId}/pages List pages #
POST /blogs/{blogId}/pages Create page #
GET /blogs/{blogId}/pages/{pageId} Get page #
PATCH /blogs/{blogId}/pages/{pageId} Update page #
DELETE /blogs/{blogId}/pages/{pageId} Delete page #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/justblogged-com:justblogged-com-pages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

justblogged-com-pages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustBlogged Pages API
  description: Content management API for JustBlogged multi-tenant blog platform
  version: 1.0.0
  contact:
    name: JustBlogged
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
- url: /api
  description: API base path
security:
- bearerAuth: []
tags:
- name: Pages
  description: Static page management
paths:
  /blogs/{blogId}/pages:
    get:
      tags:
      - Pages
      summary: List pages
      description: Get paginated list of pages with optional filtering and sorting
      operationId: listPages
      parameters:
      - $ref: '#/components/parameters/blogId'
      - name: page
        in: query
        schema:
          type: integer
          default: 1
          minimum: 1
      - name: limit
        in: query
        schema:
          type: integer
          default: 30
          minimum: 1
          maximum: 100
      - name: status
        in: query
        schema:
          type: string
          enum:
          - draft
          - published
      - name: orderBy
        in: query
        schema:
          type: string
          enum:
          - createdAt
          - updatedAt
          - title
          default: updatedAt
      - name: order
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
      responses:
        '200':
          description: Paginated list of pages
          content:
            application/json:
              schema:
                type: object
                required:
                - pages
                - pagination
                properties:
                  pages:
                    type: array
                    items:
                      $ref: '#/components/schemas/Page'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - Pages
      summary: Create page
      description: Create a new static page
      operationId: createPage
      parameters:
      - $ref: '#/components/parameters/blogId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePageRequest'
      responses:
        '200':
          description: Created page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          description: Slug already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /blogs/{blogId}/pages/{pageId}:
    get:
      tags:
      - Pages
      summary: Get page
      description: Get a single page by ID
      operationId: getPage
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/pageId'
      responses:
        '200':
          description: Page details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Pages
      summary: Update page
      description: Update an existing page. Authors can update their own pages; admins/owners can update any page.
      operationId: updatePage
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/pageId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdatePageRequest'
      responses:
        '200':
          description: Updated page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      tags:
      - Pages
      summary: Delete page
      description: Delete a page. Authors can delete their own pages; admins/owners can delete any page.
      operationId: deletePage
      parameters:
      - $ref: '#/components/parameters/blogId'
      - $ref: '#/components/parameters/pageId'
      responses:
        '204':
          description: Page deleted
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Error:
      type: object
      required:
      - statusCode
      - statusMessage
      properties:
        statusCode:
          type: integer
        statusMessage:
          type: string
        message:
          type: string
    Page:
      type: object
      required:
      - id
      - title
      - slug
      - body
      - status
      - url
      - created_at
      - updated_at
      - metadata
      properties:
        id:
          type: string
        title:
          type: string
        slug:
          type: string
        body:
          type: string
          description: HTML content
        status:
          type: string
          enum:
          - draft
          - published
        url:
          type: string
          format: uri
        image:
          type:
          - string
          - 'null'
          format: uri
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        metadata:
          type: object
          properties:
            description:
              type:
              - string
              - 'null'
          additionalProperties:
            type: string
    CreatePageRequest:
      type: object
      required:
      - title
      - body
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 200
        slug:
          type:
          - string
          - 'null'
          maxLength: 100
          pattern: ^(?!(?:[aA][dD][mM][iI][nN]|[lL][oO][gG][iI][nN]|[sS][iI][gG][nN][uU][pP]|[aA][pP][iI]|[aA][sS][sS][eE][tT][sS]|[rR][oO][bB][oO][tT][sS]\.[tT][xX][tT]|[sS][iI][tT][eE][mM][aA][pP]\.[xX][mM][lL]|[sS][iI][tT][eE][mM][aA][pP]-[iI][nN][dD][eE][xX]\.[xX][mM][lL]|[fF][eE][eE][dD]|[rR][sS][sS]|[tT][aA][gG][sS]|[tT][aA][gG]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN][sS]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN]|[pP][aA][gG][eE][sS]|[pP][aA][gG][eE]|[sS][iI][tT][eE][mM][aA][pP]|[sS][iI][tT][eE][mM][aA][pP][sS]|[sS][eE][aA][rR][cC][hH]|[dD][aA][sS][hH][bB][oO][aA][rR][dD]|[sS][eE][tT][tT][iI][nN][gG][sS]|[pP][rR][oO][fF][iI][lL][eE])$)(?!.*--)(?:[\p{L}\p{N}_-]+)?$
          description: Auto-generated from title if not provided
        body:
          type: string
          minLength: 1
          maxLength: 1000000
        status:
          type: string
          enum:
          - draft
          - published
          default: draft
        image:
          type:
          - string
          - 'null'
          maxLength: 500
        metadata:
          type: object
          maxProperties: 20
          propertyNames:
            minLength: 1
            maxLength: 50
          properties:
            description:
              type: string
              minLength: 1
              maxLength: 200
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 500
          description: Custom metadata (max 20 fields, description max 200 chars)
    Pagination:
      type: object
      required:
      - page
      - limit
      - total
      - total_pages
      - has_next_page
      - has_prev_page
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
        total_pages:
          type: integer
        has_next_page:
          type: boolean
        has_prev_page:
          type: boolean
    UpdatePageRequest:
      type: object
      properties:
        title:
          type: string
          minLength: 1
          maxLength: 200
        slug:
          type: string
          minLength: 1
          maxLength: 100
          pattern: ^(?!(?:[aA][dD][mM][iI][nN]|[lL][oO][gG][iI][nN]|[sS][iI][gG][nN][uU][pP]|[aA][pP][iI]|[aA][sS][sS][eE][tT][sS]|[rR][oO][bB][oO][tT][sS]\.[tT][xX][tT]|[sS][iI][tT][eE][mM][aA][pP]\.[xX][mM][lL]|[sS][iI][tT][eE][mM][aA][pP]-[iI][nN][dD][eE][xX]\.[xX][mM][lL]|[fF][eE][eE][dD]|[rR][sS][sS]|[tT][aA][gG][sS]|[tT][aA][gG]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN][sS]|[cC][oO][lL][lL][eE][cC][tT][iI][oO][nN]|[pP][aA][gG][eE][sS]|[pP][aA][gG][eE]|[sS][iI][tT][eE][mM][aA][pP]|[sS][iI][tT][eE][mM][aA][pP][sS]|[sS][eE][aA][rR][cC][hH]|[dD][aA][sS][hH][bB][oO][aA][rR][dD]|[sS][eE][tT][tT][iI][nN][gG][sS]|[pP][rR][oO][fF][iI][lL][eE])$)(?!.*--)(?:[\p{L}\p{N}_-]+)?$
        body:
          type: string
          minLength: 1
          maxLength: 1000000
        status:
          type: string
          enum:
          - draft
          - published
        image:
          type:
          - string
          - 'null'
          maxLength: 500
        metadata:
          type: object
          maxProperties: 20
          propertyNames:
            minLength: 1
            maxLength: 50
          properties:
            description:
              type: string
              minLength: 1
              maxLength: 200
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 500
  parameters:
    pageId:
      name: pageId
      in: path
      required: true
      description: Page ID
      schema:
        type: string
    blogId:
      name: blogId
      in: path
      required: true
      description: Blog ID
      schema:
        type: string
  responses:
    BadRequest:
      description: Invalid request data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key authentication (format: jb_xxxx). Blog-scoped keys can manage only their bound blog and inherit the key owner''s current account status and blog permissions.'