文章 Show Blog Post REST 端点

URLs

GET api/v1/blogs/{blogid}/posts/{id}.xml (or .json)

SHOW a blog post.

GET api/v1/blogs/{blogid}/posts/{id}/{filename}

SHOW a blog post file attachment.

GET api/v1/blogs/{blogid}/posts/{name}.xml (or .json)

SHOW a blog post.

GET api/v1/blogs/{blogid}/posts/{name}/{filename}

SHOW a blog post file attachment.

请求参数

名称

类型

描述

必需

默认值

选项

Id

int?

Either the Id or the Name (key) is required.

BlogId

int?

Blog Id

Name

string

Either the Id or the Name (key) is required.

PostTarget

string

Do not document this property.