会话

删除产物库中的文件

Changed on

删除产物库中的一个文件。产物库一行代表一个文件的最新版本,默认连同该文件在本会话中的所有历史版本一并删除

delete/artifacts

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/artifacts
  • Auth
    API key in header Authorization

Query parameters

session_idstring required

会话ID

message_idstring required

消息ID

indexinteger required

产物在消息中的位置

all_versionsboolean

是否删除所有版本,默认 true

Response

OK

object required

Changes