thesis API
REST API for managing projects, deployments, and users.
https://api.thesis.io/v1Projects
/projectsList projects
Returns a paginated list of all projects the authenticated user has access to.
Parameters
pageoptional, integerPage number
limitoptional, integerItems per page
Responses
/projectsCreate a project
Creates a new project under the authenticated user's organization.
Request Body
namerequired, stringProject name
descriptionoptional, stringOptional project description
templateoptional, stringTemplate to use
Enum: "default", "react", "node", "static"
Responses
/projects/{projectId}Get a project
Returns a single project by ID.
Parameters
projectIdrequired, stringThe project ID
Responses
/projects/{projectId}Delete a project
Permanently deletes a project and all associated deployments.
Parameters
projectIdrequired, stringThe project ID
Responses
Deployments
/projects/{projectId}/deploymentsList deployments
Returns all deployments for a project.
Parameters
projectIdrequired, stringThe project ID
statusoptional, stringFilter by deployment status
Responses
/projects/{projectId}/deploymentsCreate a deployment
Triggers a new deployment for the project.
Parameters
projectIdrequired, stringThe project ID
Request Body
environmentrequired, stringTarget environment
Enum: "staging", "production"
tagoptional, stringDeployment tag/label
commitShaoptional, stringGit commit SHA to deploy
Responses
Users
/users/meGet current user
Returns the profile of the currently authenticated user.
Responses
/users/meUpdate current user
Updates the profile of the currently authenticated user.
Request Body
nameoptional, stringDisplay name
emailoptional, stringEmail address