API
ProjectSurvey
9 endpoint del gruppo ProjectSurvey.
| Metodo | Path | Descrizione | Rischio | Senza token |
|---|---|---|---|---|
| GET | /project-surveys | Lists / queries ProjectSurvey. Filterable via where (ProjectSurveyQueryDto). Query options: token, fields, include, limit, sort. | read | no |
| GET | /project-surveys/count | Counts ProjectSurvey. Filterable via where (ProjectSurveyQueryDto). | read | no |
| GET | /project-surveys/{survey} | Fetches a single ProjectSurvey (scoped by survey). | read | no |
| PATCH | /project-surveys/{survey} | Updates a single ProjectSurvey (scoped by survey). Accepts fields: root, name, description, type, theme, sources, settings, requirements, score. | mutate | no |
| DELETE | /project-surveys/{survey} | Deletes a single ProjectSurvey (scoped by survey). | destructive | no |
| POST | /project-surveys/{survey}/icon | Sets the icon of a ProjectSurvey (scoped by survey). Image upload (max 1MB). | mutate | no |
| DELETE | /project-surveys/{survey}/icon | removeIcon ProjectSurvey (scoped by survey). | destructive | no |
| POST | /project-surveys/{survey}/activate | activate ProjectSurvey (scoped by survey). | mutate | no |
| POST | /project-surveys/{survey}/deactivate | deactivate ProjectSurvey (scoped by survey). | mutate | no |
Questo articolo ti è stato utile?