Get All Projects By ProjectID
12 min
this endpoint retrieves the project associated with the user's current company users must have the project view authority to access this endpoint endpoint information url https //testinium io/testinium restapi/api/projects/{projectid} method get authentication required ( bearer token ) query parameters parameter type required description email string no the email address of the user to filter projects if provided, it must match the authenticated user's email request body no request body is required the email parameter can be passed as a query parameter response the response contains a list of projects, including details such as the project name, test configurations, and other metadata mobile project response \[ { "id" 390, "project name" "project1", "enabled" true, "types" \[ "ios" ], "repository path" "project1", "test framework" "appium", "test file type" "appium gauge", "test runner tool" "maven", "created at" "2023 02 15t08 28 00z", "updated at" "2023 02 16t10 16 56z", "created by" "user", "updated by" "user", "branch name" "refs/heads/master", "testrail enabled" false, "jira enabled" false, "xray enabled" false, "ios mobile app" "iosapp ipa", "ios app hash" "02059ea989ebbb0a3c85aef4053c1b3b", "ios meta" { "bundle name" "bundle", "bundle display name" "bundle display name", "bundle version" "123", "bundle min os version" "11 0", "bundle development region" "de", "bundle executable" "bundle", "bundle icon files" "", "bundle info dict version" "6 0", "bundle package type" "appl", "bundle main story board file" "" } } ] web project response \[ { "id" 1025, "project name" "web project", "enabled" true, "types" \[ "web" ], "repository path" "web project", "test framework" "selenium", "test file type" "selenium gauge", "test runner tool" "maven", "created at" "2023 02 09t16 51 04z", "updated at" "2023 03 07t11 07 22z", "created by" "mehmetaksahin", "updated by" "mehmetaksahin", "branch name" "master", "testrail enabled" false, "jira enabled" false, "xray enabled" false } ] service project response \[ { "id" 1405, "project name" "karateprojesi", "enabled" true, "types" \[ "service" ], "repository path" "karateprojesi", "test framework" "service", "test file type" "karate", "test runner tool" "maven", "created at" "2024 11 30t13 22 57z", "updated at" "2024 12 01t04 55 28z", "created by" "ali veli", "updated by" "ali veli", "branch name" "main", "testrail enabled" false, "jira enabled" true, "xray enabled" false } ] response fields field type description id long the unique id of the project project name string the name of the project enabled boolean indicates whether the project is enabled types array list of supported test types (e g , android , ios , web , service ) repository path string the repository path of the project test framework string the test framework used (e g , appium , selenium , service ) test file type string the type of test file used (e g , appium gauge , selenium gauge , karate ) test runner tool string the test runner tool used (e g , maven ) created at string the date and time when the project was created in iso 8601 format updated at string the date and time when the project was last updated in iso 8601 format created by string the username of the user who created the project updated by string the username of the user who last updated the project branch name string the git branch name associated with the project testrail enabled boolean indicates whether the project is connected to testrail jira enabled boolean indicates whether the project is connected to jira xray enabled boolean indicates whether the project is connected to xray ios mobile app string the name of the ios mobile application associated with the project android mobile app string the name of the android mobile application associated with the project ios app hash string the hash of the ios application file android app hash string the hash of the android application file apk meta object metadata information about the android application ios meta object metadata information about the ios application error codes http code error message description 400 project not found no project found with the given id 401 unauthorized access user authentication failed or token is missing 403 access denied user lacks project view authority 500 internal server error an unexpected error occurred on the server side example request curl location request get "https //testinium io/testinium restapi/api/projects/{projectid}" \\ \ header 'authorization bearer \<your access token>'