Projects
Introduction
Projects are the primary way to organize and manage your media in Ittybit.
You may create different projects for each of your customers, to separate media for the different departments in your organization, or to maintain different environments within your project.
Note: This is an organisation-level resource so you will have to use an API Key with admin: true
permissions to access this resource.
Endpoints
List Projects
Returns a list of all projects.
Endpoint
GET /projects
Query Parameters
-
page integer
The page number to return. Default is 1.
-
limit integer
The number of projects to return per page. Default is 12. Maximum is 100.
Create Project
Creates a new project.
Endpoint
POST /projects
Body Parameters
-
name string
A human-readable name for the project.
-
description string
A human-readable description of the project.
-
alias string
A unique identifier for the project that can be used in URLs.
View Project
Returns the details for a single project.
Endpoint
GET /project/:id
Response Parameters
-
id string
Unique identifier for the project.
-
name string
A human-readable name for the project.
-
description string
A human-readable description of the project.
-
alias string
A unique identifier for the project that can be used in URLs.
-
domain string
The domain for the project.
-
status string
The status of the project. Possible values are
active
,paused
,suspended
,deleted
. -
created datetime
The date and time the project was created. ISO 8601 format.
-
updated datetime
The date and time the project was last updated. ISO 8601 format.
Update Project
Updates a project's metadata.
Endpoint
PATCH /projects/:id
Body Parameters
-
name string
A human-readable name for the project.
-
description string
A human-readable description of the project.
Delete Project
Deletes a project.
NOTE: This action will delete the project and all its media. To avoid accidental data loss we will retain the data and files for 30 days before permanently deleting it. If you need to restore a project within this period, please contact support.
Endpoint
DELETE /projects/:id