跳到主要内容

Warehouse Archiving

PUT 

/api/v5/org/:org/repo/:repo/status

Request​

Path Parameters

    org stringrequired

    Organization to which the repository belongs.

    repo stringrequired

    Repository path (path)

Query Parameters

    access_token stringrequired

    User authorization code

Body

    statusintegerrequired

    Warehouse status, 0: Start (indicating the warehouse is not archived), 2: Closed (indicating the warehouse is archived)

    passwordstring

    User password

Responses​

Successful Response

Response Headers
    Schema
      codeinteger
      msgstring