models-files

Archive Download Request

Changed on

Archives a completed, failed, or queued download request so it no longer appears in the downloads list or the list API response. Actively-downloading requests cannot be archived.

post/bodhi/v1/models/files/pull/{id}/archive

Request

  • Base URL: http://localhost:1135
  • URL: http://localhost:1135/bodhi/v1/models/files/pull/{id}/archive
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)

Path parameters

idstring required

Unique identifier of the download request

Response

Download request archived

idstring required
repostring required
filenamestring required
status'pending' | 'completed' | 'error' required
errorstring nullable
total_bytesinteger nullable
downloaded_bytesinteger required
started_atstring date-time nullable
archived_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time required

Changes