文章 Show Media REST 端点

URLs

GET api/v1/media/{mediagalleryid}/files/{filecontentid}.xml (or .json)

SHOW a media file.

GET api/v1/media/{mediagalleryid}/files/{fileid}.xml (or .json)

SHOW a media file.

GET api/v1/media/{mediagalleryid}/files/{fileid}/{filename}

SHOW a media file attachment.

请求参数

名称

类型

描述

必需

默认值

选项

MediaGalleryId

int?

Media Gallery Id

是

FileId

int?

Either FileId or FileContentId are required.

否

FileContentId

Guid?

Either FileId or FileContentId are required.

否

Filename

string

Filename

否

PostTarget

string

Do not document this property.

否