Project Categories

Introduction

Endpoint that returns the category of projects registered in Jira.

Endpoints

Method Endpoint Description
GET https://csp-plugin-jira-client-api.azurewebsites.net/ProjectCategories get project categories

Parameters

This endpoint has no parameters.

Responses

When executing a successful request to the endpoint, it yields the following response:

                                            
[
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "createdAt": "2024-01-16T18:32:04.766Z",
    "updatedAt": "2024-01-16T18:32:04.766Z",
    "deletionDate": "2024-01-16T18:32:04.766Z",
    "isDeleted": true,
    "self": "string",
    "jiraId": 0,
    "name": "string",
    "description": "string"
  }
]
                                            
                                        

Get Projects Count

The GET method is one of the HTTP (Hypertext Transfer Protocol) methods used for retrieving data from a specified resource on a server. In a GET request, data is appended to the URL in the form of parameters, commonly known as the query string. This data is visible in the URL itself.

Method Endpoint Description
GET https://csp-plugin-jira-client-api.azurewebsites.net/ProjectsCategories/$count Get Projects count information

Responses

When executing a successful request to the endpoint, it yields the following response:

                                                
[
  {
    2
  }
]
                                                
                                            

Error

The Westeros API uses the following error codes:

Error code Description
401 Unauthorized indicates that the request was not applied because it does not have valid authentication credentials for the target resource.