cURL
curl --request GET \ --url https://api.mesa.dev/api/v1/{org}/{repo} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "org": "<string>", "name": "<string>", "default_branch": "<string>", "head_oid": "<string>", "size_bytes": 123, "created_at": "<string>", "upstream": { "uri": "<string>", "autosync": { "type": "<string>", "period": 123, "resolution_strategy": "none" }, "last_sync_attempt": "2023-11-07T05:31:56Z", "last_sync_success": "2023-11-07T05:31:56Z", "last_sync_error": "<string>", "has_credential": true, "credential_host": "<string>" } }
Get metadata for a specific repository
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
Repository
Optionally add an upstream repository. You can configure automatic syncing from the upstream repository.
Show child attributes