文章 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.