Skip to content

Latest commit

 

History

History
155 lines (97 loc) · 6.56 KB

ProjectTestPlanAttributesApi.md

File metadata and controls

155 lines (97 loc) · 6.56 KB

ProjectTestPlanAttributesApi

All URIs are relative to http://localhost

Method HTTP request Description
createCustomAttributeTestPlanProjectRelations POST /api/v2/projects/{projectId}/testPlans/attributes Add attributes to project's test plans
deleteCustomAttributeTestPlanProjectRelations DELETE /api/v2/projects/{projectId}/testPlans/attributes/{attributeId} Delete attribute from project's test plans
getCustomAttributeTestPlanProjectRelations GET /api/v2/projects/{projectId}/testPlans/attributes Get project's test plan attributes
searchTestPlanAttributesInProject POST /api/v2/projects/{projectId}/testPlans/attributes/search Search for attributes used in the project test plans
updateCustomAttributeTestPlanProjectRelations PUT /api/v2/projects/{projectId}/testPlans/attributes Update attribute of project's test plans

createCustomAttributeTestPlanProjectRelations

createCustomAttributeTestPlanProjectRelations(projectId, request_body)

Add attributes to project's test plans

<br>Use case  <br>User sets project internal or global identifier and attributes identifiers  <br>User runs method execution  <br>System updates project and add attributes to project for test plans  <br>System returns no content response

Parameters

Name Type Description Notes
projectId String Project internal (UUID) or global (integer) identifier [default to null]
request_body Set [optional]

Return type

null (empty response body)

Authorization

[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

deleteCustomAttributeTestPlanProjectRelations

deleteCustomAttributeTestPlanProjectRelations(projectId, attributeId)

Delete attribute from project's test plans

<br>Use case  <br>User sets project internal or global identifier and attribute identifier  <br>User runs method execution  <br>System updates project and delete attribute from project for test plans  <br>System returns no content response

Parameters

Name Type Description Notes
projectId String Project internal (UUID) or global (integer) identifier [default to null]
attributeId UUID [default to null]

Return type

null (empty response body)

Authorization

[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getCustomAttributeTestPlanProjectRelations

List getCustomAttributeTestPlanProjectRelations(projectId)

Get project's test plan attributes

<br>Use case  <br>User runs method execution  <br>System returns project for test plans attributes by project identifier

Parameters

Name Type Description Notes
projectId String Project internal (UUID) or global (integer) identifier [default to null]

Return type

List

Authorization

[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

searchTestPlanAttributesInProject

List searchTestPlanAttributesInProject(projectId, Skip, Take, OrderBy, SearchField, SearchValue, ProjectAttributesFilterModel)

Search for attributes used in the project test plans

Parameters

Name Type Description Notes
projectId String Unique or global project ID [default to null]
Skip Integer Amount of items to be skipped (offset) [optional] [default to null]
Take Integer Amount of items to be taken (limit) [optional] [default to null]
OrderBy String SQL-like ORDER BY statement (column1 ASC DESC , column2 ASC
SearchField String Property name for searching [optional] [default to null]
SearchValue String Value for searching [optional] [default to null]
ProjectAttributesFilterModel ProjectAttributesFilterModel [optional]

Return type

List

Authorization

[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateCustomAttributeTestPlanProjectRelations

updateCustomAttributeTestPlanProjectRelations(projectId, CustomAttributeTestPlanProjectRelationPutModel)

Update attribute of project's test plans

<br>Use case  <br>User sets project internal or global identifier and attribute model  <br>User runs method execution  <br>System updates project and project attribute for test plan  <br>System returns no content response

Parameters

Name Type Description Notes
projectId String Project internal (UUID) or global (integer) identifier [default to null]
CustomAttributeTestPlanProjectRelationPutModel CustomAttributeTestPlanProjectRelationPutModel [optional]

Return type

null (empty response body)

Authorization

[Bearer or PrivateToken](../README.md#Bearer or PrivateToken)

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json