appgram / docs
Dashboard

API REFERENCE

Blog

Read published posts, categories, tags, and feeds.

v1.0
11 endpointsAuthentication →

Blog

Get Atom feed

Get Atom feed for blog posts (public endpoint)

GET/portal/blog/atom.xml

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Query parameters

project_idstringquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/atom.xml
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/atom.xml?project_id=<project_id>'
Response · 200
"string"

Blog

List blog categories

List all blog categories for a project (public endpoint)

GET/portal/blog/categories

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Query parameters

project_idstringquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/categories
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/categories?project_id=<project_id>'
Response · 200
{
  "data": [
    {
      "color": "string",
      "created_at": "1970-01-01T00:00:00.000Z",
      "description": "string",
      "id": "string",
      "name": "string",
      "post_count": 0,
      "project_id": "string",
      "slug": "string",
      "sort_order": 0,
      "updated_at": "1970-01-01T00:00:00.000Z"
    }
  ],
  "success": true
}

Blog

Get category with posts

Get a category with its published posts (public endpoint)

GET/portal/blog/categories/{slug}

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

slugstringpathrequired

Query parameters

project_idstringquery
pageintegerquery
per_pageintegerquery

Responses

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

GET /portal/blog/categories/{slug}
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/categories/{slug}?project_id=<project_id>'
Response · 200
{
  "data": {
    "category": {
      "color": "string",
      "created_at": "1970-01-01T00:00:00.000Z",
      "description": "string",
      "id": "string",
      "name": "string",
      "post_count": 0,
      "project_id": "string",
      "slug": "string",
      "sort_order": 0,
      "updated_at": "1970-01-01T00:00:00.000Z"
    },
    "pagination": {
      "page": 0,
      "per_page": 0,
      "total": 0
    },
    "posts": [
      {
        "author": {},
        "canonical_url": "string",
        "category": {},
        "category_id": "string",
        "content": "string",
        "created_at": "1970-01-01T00:00:00.000Z",
        "excerpt": "string",
        "id": "string",
        "is_featured": true,
        "meta_description": "string",
        "og_image_url": "string",
        "project_id": "string",
        "published_at": "1970-01-01T00:00:00.000Z",
        "slug": "string",
        "tags": [],
        "title": "string",
        "updated_at": "1970-01-01T00:00:00.000Z"
      }
    ]
  },
  "success": true
}

Blog

List published blog posts

List all published blog posts for a project (public endpoint)

GET/portal/blog/posts

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Query parameters

category_slugstringquery
project_idstringquery
searchstringquery
pageintegerquery
per_pageintegerquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/posts
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/posts?project_id=<project_id>'
Response · 200
{
  "data": [
    {
      "author": {
        "avatar_url": "string",
        "id": "string"
      },
      "canonical_url": "string",
      "category": {
        "color": "string",
        "created_at": "1970-01-01T00:00:00.000Z",
        "description": "string",
        "id": "string",
        "name": "string",
        "post_count": 0,
        "project_id": "string",
        "slug": "string",
        "sort_order": 0,
        "updated_at": "1970-01-01T00:00:00.000Z"
      },
      "category_id": "string",
      "content": "string",
      "created_at": "1970-01-01T00:00:00.000Z",
      "excerpt": "string",
      "id": "string",
      "is_featured": true,
      "meta_description": "string",
      "og_image_url": "string",
      "project_id": "string",
      "published_at": "1970-01-01T00:00:00.000Z",
      "slug": "string",
      "tags": [
        "string"
      ],
      "title": "string",
      "updated_at": "1970-01-01T00:00:00.000Z"
    }
  ],
  "page": 0,
  "per_page": 0,
  "success": true,
  "total": 0,
  "total_pages": 0
}

Blog

Get blog post by slug

Get a published blog post by slug (public endpoint)

GET/portal/blog/posts/{slug}

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

slugstringpathrequired

Query parameters

project_idstringquery

Responses

200

OK

400

Bad Request

404

Not Found

GET /portal/blog/posts/{slug}
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/posts/{slug}?project_id=<project_id>'
Response · 200
{
  "data": {
    "author": {
      "avatar_url": "string",
      "id": "string"
    },
    "canonical_url": "string",
    "category": {
      "color": "string",
      "created_at": "1970-01-01T00:00:00.000Z",
      "description": "string",
      "id": "string",
      "name": "string",
      "post_count": 0,
      "project_id": "string",
      "slug": "string",
      "sort_order": 0,
      "updated_at": "1970-01-01T00:00:00.000Z"
    },
    "category_id": "string",
    "content": "string",
    "created_at": "1970-01-01T00:00:00.000Z",
    "excerpt": "string",
    "id": "string",
    "is_featured": true,
    "meta_description": "string",
    "og_image_url": "string",
    "project_id": "string",
    "published_at": "1970-01-01T00:00:00.000Z",
    "slug": "string",
    "tags": [
      "string"
    ],
    "title": "string",
    "updated_at": "1970-01-01T00:00:00.000Z"
  },
  "success": true
}

Blog

Get RSS feed

Get RSS 2.0 feed for blog posts (public endpoint)

GET/portal/blog/rss.xml

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Query parameters

project_idstringquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/rss.xml
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/rss.xml?project_id=<project_id>'
Response · 200
"string"

Blog

Get sitemap

Get SEO sitemap for blog posts (public endpoint)

GET/portal/blog/sitemap.xml

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Query parameters

project_idstringquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/sitemap.xml
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/sitemap.xml?project_id=<project_id>'
Response · 200
"string"

Blog

List posts by tag

List published posts by tag (public endpoint)

GET/portal/blog/tags/{tag}

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

tagstringpathrequired

Query parameters

project_idstringquery
pageintegerquery
per_pageintegerquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /portal/blog/tags/{tag}
curl --request GET \
  --url 'https://api.appgram.dev/portal/blog/tags/{tag}?project_id=<project_id>'
Response · 200
{
  "data": {
    "pagination": {
      "page": 0,
      "per_page": 0,
      "total": 0
    },
    "posts": [
      {
        "author": {},
        "canonical_url": "string",
        "category": {},
        "category_id": "string",
        "content": "string",
        "created_at": "1970-01-01T00:00:00.000Z",
        "excerpt": "string",
        "id": "string",
        "is_featured": true,
        "meta_description": "string",
        "og_image_url": "string",
        "project_id": "string",
        "published_at": "1970-01-01T00:00:00.000Z",
        "slug": "string",
        "tags": [],
        "title": "string",
        "updated_at": "1970-01-01T00:00:00.000Z"
      }
    ],
    "tag": "string"
  },
  "success": true
}
—