文章 Create Status Message REST 端点

URLs

POST api/v1/users/{userid}/statuses.xml (or .json)

CREATE a status message by user id.

POST api/v1/users/{username}/statuses.xml (or .json)

CREATE a status message by username.

请求参数

名称

类型

描述

必需

默认值

选项

UserId

int?

Either the UserId or Username is required.

Username

string

Either the UserId or Username is required.

MessageBody

string

The text of the message.

GroupId

int?

Optional group to post the message.

AttachedUrl

string

Optional URL to attach to the message.