Returns all project categories
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns a list of all project categories.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/projectCategory' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Create a project category.
Forge and OAuth2 apps cannot access this REST resource.
The project category to create.
string
string
string
string
Returned if the project category is created successfully.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/projectCategory' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns a full representation of the project category that has the given id.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturned if the project category exists and is visible by the calling user.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/projectCategory/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Modify a project category.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredThe project category to modify.
string
string
string
string
Returned if the project category exists and the currently authenticated user has permission to edit it.
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/projectCategory/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Delete a project category.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturned if the project category is successfully deleted.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/projectCategory/{id}' \
--user 'email@example.com:<api_token>'
Rate this page: