cURL
curl --request GET \ --url https://api.example.com/codes/{version_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "project_id": "<string>", "project_slug": "<string>", "user": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "username": "<string>" }, "version": { "id": "<string>", "version_method": "<string>", "version_identifier": "<string>", "source_type": "<string>", "status": "<string>", "network": "<string>", "solc_version": "<string>", "contract_name": "<string>", "commit": "<string>", "repository_id": "<string>" }, "name": "<string>", "parent_id": "<string>" }
retrieve a specific code version by ID
API key in Bearer token format
Successful Response
Show child attributes