Update
projects.brief.update(strproject_id, BriefUpdateParams**kwargs) -> BriefUpdateResponse
PUT/projects/{projectId}/brief
Create or update the project’s Quality Gate brief
Update
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
brief = client.projects.brief.update(
project_id="projectId",
body="x",
)
print(brief.brief){
"brief": {
"id": "id",
"body": "body",
"createdAt": "createdAt",
"createdBy": "createdBy",
"enabled": true,
"level": "project",
"referenceAssetIds": [
"string"
],
"scopeId": "scopeId",
"updatedAt": "updatedAt",
"sensitivity": "high"
}
}Returns Examples
{
"brief": {
"id": "id",
"body": "body",
"createdAt": "createdAt",
"createdBy": "createdBy",
"enabled": true,
"level": "project",
"referenceAssetIds": [
"string"
],
"scopeId": "scopeId",
"updatedAt": "updatedAt",
"sensitivity": "high"
}
}