Skip to content

List Blog Translations

GET
/api/v1/posts/id/{id}/translations

Parameters

Path Parameters

id*
Type
string
Required

Responses

Translations list

Playground

Server
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

List translations for a blog post.

Auth: optional.

Parameters

NameInTypeRequiredDescription
idpathstringYesPost id

Request Body

None.

Response 200

json
{
	"data": [
		{ "lang": "en", "slug": "hello-world" },
		{ "lang": "es", "slug": "hola-mundo" }
	],
	"user_context": { "authenticated": false },
	"meta": {}
}

Response Errors

  • 404 post not found

Notes

  • Use this for multilingual content experiences.
  • Works best when the base post has a stable source language.