# Download repo in archived format Endpoint: GET /code/api/v1/repos/{repo_identifier}/archive/{git_ref}.{format} Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. - `path` (array) Without an optional path parameter, all files and subdirectories of the current working directory are included in the archive. If one or more paths are specified, only these are included. - `prefix` (string) Prepend / to paths in the archive. - `attributes` (string) Look for attributes in .gitattributes files in the working tree as well - `time` (string) Set modification time of archive entries. Without this option the committer time is used if is a commit or tag, and the current time if it is a tree. - `compression` (integer) Specify compression level. Larger values allow the command to spend more time to compress to smaller size. ## Path parameters: - `repo_identifier` (string, required) - `git_ref` (string, required) - `format` (string, required) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 404 fields (application/json): - `message` (string) - `values` (object) ## Response 422 fields (application/json): - `message` (string) - `values` (object) ## Response 500 fields (application/json): - `message` (string) - `values` (object)