API
Project
8 endpoint del gruppo Project.
| Metodo | Path | Descrizione | Rischio | Senza token |
|---|---|---|---|---|
| GET | /projects | Lists / queries Project. Filterable via where (ProjectQueryDto). Query options: token, fields, limit, sort. | read | no |
| POST | /projects | Creates a new Project. Accepts fields: name, description, slug, type, status. | create | no |
| GET | /projects/count | Counts Project. Filterable via where (ProjectQueryDto). | read | no |
| GET | /projects/{project} | Fetches a single Project (scoped by project). | read | no |
| PATCH | /projects/{project} | Updates a single Project (scoped by project). Accepts fields: name, description, slug, type, status. | mutate | no |
| DELETE | /projects/{project} | Deletes a single Project (scoped by project). | destructive | no |
| POST | /projects/{project}/icon | Sets the icon of a Project (scoped by project). Image upload (max 1MB). | mutate | no |
| DELETE | /projects/{project}/icon | removeIcon Project (scoped by project). | destructive | no |
Questo articolo ti è stato utile?