AI Agent Task Pull Request
Update AI Agent Task Pull Request
Endpoint to update an existing AI Agent Task Pull Request
put/ai-agent-task-pull-request/{id}
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the AI Agent Task Pull Request to update
Request body
Example request
{
"data": {
"title": "Example Text",
"pullRequestState": "Example Text"
}
}Response
Updated successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiRunId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"aiAgent": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"aiAgentId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"codeRepository": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"codeRepositoryId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"title": "Example Text",
"description": "This is an example of longer text content that provides detailed information.",
"pullRequestUrl": "https://example.com",
"pullRequestId": 100,
"pullRequestNumber": 42,
"pullRequestState": "Example Text",
"ciStatus": "Example Text",
"ciStatusAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"runnerVerificationStatus": "Example Text",
"runnerVerificationSummary": "This is an example of longer text content that provides detailed information.",
"mergeCommitSha": "Example Text",
"mergedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"productionStatus": "Example Text",
"productionStatusAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deployedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deployedVersion": "Example Text",
"deployedCommitSha": "Example Text",
"productionSummary": "This is an example of longer text content that provides detailed information.",
"productionCheck": "Example Text",
"headRefName": "Example Text",
"baseRefName": "Example Text",
"repoOrganizationName": "Example Text",
"repoName": "Example Text",
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.