Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 1.25 KB

File metadata and controls

81 lines (55 loc) · 1.25 KB

/appliances/:app/:version/:format

Contents

Delete the built :format image of the :version of :app.

Spec:

Accept:
  $CT:result

Status:
  200 Ok
| 409 Conflict
| 412 Precondition Failed
Content-Type:
  &Accept

Example:

< DELETE /appliances/123/4.5.6/vmx

> 204 No Content

Fetch the built :format image of the :version of :app.

Spec:

Accept:
  application/x-bzip-compressed-tar     ; tar.bz tar.bz2 tbz tbz2
| application/x-compressed-tar          ; tar.gz tar.Z tgz taz
| application/zip                       ; zip

Status:
  200 Ok
| 406 Not Acceptable
Content-Type:
  &Accept
Content-Disposition:
  FILENAME

Example:

< GET /appliances/123/4.5.6/oem
< Accept: application/x-compressed-tar

> 200 Ok
> Content-Type: application/x-compressed-tar
> Content-Disposition: attachment; filename=Whatever.x86_64-4.5.6.oem.tar.gz
> Content-Length: ...
>
> ...

Example:

< GET /appliances/123/4.5.6/vhd
< Accept: application/zip

> 200 Ok
> Content-Type: application/zip
> Content-Length: ...
>
> ...