Bulk Purposes Download API (Early Access)
POST
https://app.balkan.id/api/rest/v0/purposes/download-url
Purposes
BalkanID Purposes Download CSV Format
Sample CSV
BRN* | Purpose Name* | Description* | Pre-Expiry Notification | Department | Job Title | Team | Owner | Birthright | Entity BRNs |
---|---|---|---|---|---|---|---|---|---|
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:purpose:01JH1JR91K9N91Z04PHK2201WR | Kubernetes Development | Purpose which is meant for Kubernetes Development | 168h | Software Development | Software Development Engineer | Software | aali@example.com | Department Birthright | brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q0, brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q1 |
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:purpose:01JH1JR91K9N91Z04PHK2201WP | Infrastructure DevOps | Purpose which is meant for Infrastucture DevOps | 168h | DevOps | DevOps Engineer | DevOps | mgomez@example.com | Department Birthright | brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q2, brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q3 |
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:purpose:01JH1JR91K9N91Z04PHK2201WQ | Production Oncall | Purpose which is meant for Production Oncall | 2h | Customer Support | Customer Support | Customer Support | xliu@example.com | Team Birthright | brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q4 |
brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:purpose:01JH1JR91K9N91Z04PHK2201WS | Local Stack Development | Purpose which is meant for Local Stack Development | 48h | Software Development | Software Development Engineer | Software | fasaud@example.com | Organization Birthright | brn:bid:balkanid:::01HWBCYJA11R3AA48K5V0DVM00:identity:04giq7jlHzhHyZ-cOvAn4Fn2dNc3bjqZrK4ufzx19Q0 |
Column Definitions
Column Name | Column Description |
---|---|
BRN | Required - Balkan Resource Name |
Purpose Name | Required - Name of the purpose |
Description | Required - Description of the purpose |
Pre-Expiry Notification | Time duration before expiry of purpose request at which a notification is sent out |
Department | Department associated to the purpose |
Job Title | Job Title associated to the purpose |
Team | Team associated to the purpose |
Owner | Owner of the entity |
Birthright | Birthright that the purpose represents |
Entity BRNs | Comma separated list of Entity BRNs that are granted access to when starting a purpose |
The only valid values for "Pre-Expiry Notification" are '', '2h', '4h', '24h', '48h', '168h'.
Download the CSV file via the pre-signed URL
To use the polling URL, first send an HTTP request with the method
HEAD
to the pollingUrl
.If the response status code is
404
, the file is not ready, and you should retry this polling request after a delay.If the response status code is
200
, the file is ready, and you may proceed to download the CSV from the received url
.Request
Header Params
X-Api-Key-ID
string
optional
X-Api-Key-Secret
string
optional
Content-Type
string
optional
Default:
application/json