Projects
Get a list of projects for a workspace
workspace_id?stringWorkspace ID
status?stringFilter by status
"active""paused""deleted"region?stringFilter by region
"us""eu""au"page?integerPage number
limit?integerPage size (default 25, at most 100)
sort?stringSort order
search?stringSearch term (name depending on implementation)
OK
application/json- response
data?array<>List of projects
object?stringThe object type
pagination?Pagination information
curl -X GET 'https://api.pontive.com/v1/projects'{ "data": [ { "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Create a new project in a workspace. The project is created with one non_production instance (Development, slug dev), returned in instances.
Create Project Request
application/json- body
Create Project Request
description?stringThe description of the project (0-500 chars)
metadata?The new metadata for the project
name*stringThe name of the project (1-100 chars)
region?stringThe region where the project is deployed
"us""eu""au"tenancy_mode*stringThe tenancy mode of the project: b2b (organizations) or b2c. Required and immutable once the project is created.
"b2b""b2c"workspace_id*stringThe ID of the workspace the project is created in
Created
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X POST 'https://api.pontive.com/v1/projects' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "tenancy_mode": "b2b", "workspace_id": "string"}'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}Get project details by ID or slug
project_id*stringProject ID
OK
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X GET 'https://api.pontive.com/v1/projects/string'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}Update an existing project
project_id*stringProject ID
Update Project Request
application/json- body
Update Project Request
description?stringThe new description for the project
metadata?The new metadata for the project
name?stringThe new name for the project minLength: 1 maxLength: 255
OK
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X PATCH 'https://api.pontive.com/v1/projects/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}Soft-delete a project and every instance in it, recoverable for 30 days: it carries purge_scheduled_at, deleted_at plus 30 days, and is purged with its instances after it. Requires {"confirm_delete": true}; without it the API returns 400 confirmation_required.
project_id*stringProject ID
Delete confirmation
application/json- body
Delete confirmation
confirm_delete?booleanMust be true; without it the API returns 400 confirmation_required. Deleting a project soft-deletes every instance in it.
Project deleted successfully
curl -X DELETE 'https://api.pontive.com/v1/projects/string' \ -H 'Content-Type: application/json' \ -d '{}'Pause a project
project_id*stringProject ID
OK
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X POST 'https://api.pontive.com/v1/projects/string/pause'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}Permanently delete a deleted project and its instances now, rather than at its purge_scheduled_at, and retire its slug and host labels. Cannot be undone.
project_id*stringProject ID
Project purged successfully
curl -X POST 'https://api.pontive.com/v1/projects/string/purge'Restore a deleted project within 30 days of its deletion, until its purge_scheduled_at (409 restore_window_closed after, when it is purged).
project_id*stringProject ID
OK
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X POST 'https://api.pontive.com/v1/projects/string/restore'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}Resume a paused project
project_id*stringProject ID
OK
application/json- response
charges?What the project started billing per month, on the project a create returns and nowhere else: nothing on Free or in one of the plan's included slots; else the additional-project fee and, on a b2b project, the uplift (pontive-spec 10). Absent where the installation bills nothing.
compliance_tags?Compliance tags of the project
created_at?stringThe time when the project was created
date-timedeleted_at?stringThe time when the project was deleted, if applicable
date-timedescription?stringThe description of the project
id?stringThe unique identifier of the project
instances?array<>Read-only summary of the project's instances, oldest first
metadata?The new metadata for the project
name?stringThe name of the project
object?stringThe object type
paused_at?stringThe time when the project was paused, if applicable
date-timepurge_scheduled_at?stringWhen a deleted project's restore window ends, deleted_at plus 30 days: it can be restored until then, and is purged after (route review D30). Null unless the project is deleted.
date-timeregion?stringThe region where the project and all its instances are deployed
"us""eu""au"slug?stringThe slug of the project. Client-supplied, permanent, globally unique and never reused.
status?stringThe current status of the project
"active""paused""deleted"tenancy_mode?stringThe project's tenancy mode, chosen at creation and immutable. Every instance inherits it.
"b2b""b2c"updated_at?stringThe time when the project was last updated
date-timeworkspace_id?stringThe ID of the workspace that owns this project
curl -X POST 'https://api.pontive.com/v1/projects/string/resume'{ "charges": { "included": true }, "compliance_tags": { "GDPR": true, "HIPAA": true }, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "description": "string", "id": "string", "instances": [ { "environment": "production", "id": "string", "name": "string", "slug": "string", "status": "active" } ], "metadata": { "property1": "string", "property2": "string" }, "name": "string", "object": "string", "paused_at": "2019-08-24T14:15:22Z", "purge_scheduled_at": "2019-08-24T14:15:22Z", "region": "us", "slug": "string", "status": "active", "tenancy_mode": "b2b", "updated_at": "2019-08-24T14:15:22Z", "workspace_id": "string"}