Get Project by ID or Name
The endpoint enables authenticated users to retrieve detailed information about a project by specifying either its unique ID or name.
Endpoint Information
URL:
<custom-env-url>/Testinium.RestApi/api/projects/{projectNameOrId}
Method:
GET
Authentication: Requires
Bearer Token
Content-Type:
application/json
URL Parameters
projectNameOrId
String
Yes
The unique ID or name of the project to retrieve.
Request Headers
Authorization
Bearer {access_token}
The access token obtained after login.
Accept
application/json
The type of content expected in the response.
Response Body
On success, the API returns the following JSON structure:
id
integer
The unique identifier of the project.
project_name
string
The name of the project.
description
string
A brief description of the project.
enabled
boolean
Indicates if the project is active or inactive.
repository_path
string
The path to the repository where the project is stored.
test_framework
string
The testing framework used in the project (e.g., APPIUM).
test_file_type
string
The type of test files in the project (e.g., APPIUM_JAVA).
test_runner_tool
string
The tool used to execute tests (e.g., MAVEN).
Error Codes
404
Project Not Found
No project with the given ID or name exists.
403
Access Denied
The user does not have permission to access this project.
401
Unauthorized
Invalid or missing authentication credentials.
500
Internal Server Error
An unexpected error occurred on the server.
Example Request
Using Project ID
Last updated