Portabase DashboardAPIProjects
Get project by ID
GET
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
id*stringFormat
uuidProject details
application/json- response
data*Example Request
curl -X GET 'https://portabase.example.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "isArchived": true, "backupPolicy": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "retentionPolicy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "databaseId": "d0f4f849-8ecf-4909-96bf-7953790e45f9", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "type": "count", "count": -2147483648, "days": -2147483648, "gfsHourly": -2147483648, "gfsDaily": -2147483648, "gfsWeekly": -2147483648, "gfsMonthly": -2147483648, "gfsYearly": -2147483648, "updatedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z" } }}