GET
/
repos
/
{repo_id}
/
blobs
/
download
curl --request GET \
  --url https://api.diversion.dev/v0/repos/{repo_id}/blobs/download \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

repo_id
string
required

The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.

Required string length: 3 - 128
Example:

"example_id"

Query Parameters

storage_backend
enum<integer>
required

Storage type of the blob.

Available options:
1,
2
storage_uri
string
required

Storage uri of the blob.

Example:

"repo_id/2aae6c35c94fcfb415dbe95f408b9ce91ee846ed"

Response

200
application/octet-stream
File contents

The response is of type file.