afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/DevopsActivityLog.json

125 lines
11 KiB
JSON
Raw Normal View History

{
"sections": [
"title",
"description",
"fields",
"usage",
"associated_objects",
"wsdl_segment"
],
"title": "DevopsActivityLog - Data API",
"description": "Represents the history of activities performed within DevOps Center. The object provides visibility into the users, actions, and outcomes. This object is available in API version 67.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"refers_to"
],
"fields": {
"Activity": {
"type": "string",
"properties": "Nillable, Sort",
"description": "A summary of the specific action performed."
},
"ActivityDate": {
"type": "dateTime",
"properties": "Create, Filter, Sort, Update",
"description": "The date and time when the activity happened."
},
"ActivityType": {
"type": "picklist",
"properties": "Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update",
"description": "The category of the activity. Possible values are: BACK_SYNC_COMPLETED BACK_SYNC_STARTED COMMIT_COMPLETED COMMIT_STARTED PROMOTION_COMPLETED PROMOTION_STARTED WORK_ITEM_CREATED WORK_ITEM_STATE_TRANSITION The default value is PROJECT_CREATED."
},
"Description": {
"type": "textarea",
"properties": "Create, Nillable, Update",
"description": "Detailed information about the activity, such as commit comments."
},
"DevopsRequestInfoId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the associated DevopsRequestInfo record that triggered this activity log entry. This field is a relationship field.",
"relationship_name": "DevopsRequestInfo",
"refers_to": "DevopsRequestInfo"
},
"LastReferencedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record."
},
"LastViewedDate": {
"type": "dateTime",
"properties": "Filter, Nillable, Sort",
"description": "The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly."
},
"Name": {
"type": "string",
"properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort",
"description": "A unique identifier for the activity log entry, typically with a DOAL- prefix."
},
"OwnerId": {
"type": "reference",
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
"description": "The ID of the user or group that owns this record. This field is a polymorphic relationship field.",
"relationship_name": "Owner",
"refers_to": "Group, User"
},
"ParentActivityId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of a parent activity log entry, used to group related sub-actions. This field is a relationship field.",
"relationship_name": "ParentActivity",
"refers_to": "DevopsActivityLog"
},
"PerformedById": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the user who performed the action. This field is a relationship field.",
"relationship_name": "PerformedBy",
"refers_to": "User"
},
"PipelineId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the pipeline associated with this activity. This field is a relationship field.",
"relationship_name": "Pipeline",
"refers_to": "DevopsPipeline"
},
"PipelineStageId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the specific pipeline stage where the activity occurred. This field is a relationship field.",
"relationship_name": "PipelineStage",
"refers_to": "DevopsPipelineStage"
},
"ProjectId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the DevOps Center project associated with this activity. This field is a relationship field.",
"relationship_name": "Project",
"refers_to": "DevopsProject"
},
"RequestInfoErrorDetails": {
"type": "string",
"properties": "Filter, Nillable, Sort",
"description": "Error details or logs retrieved from the associated request if the status is FAIL."
},
"Status": {
"type": "picklist",
"properties": "Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
"description": "The outcome of the activity. Possible values are: FAIL SUCCESS The default value is SUCCESS."
},
"WorkItemId": {
"type": "reference",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "The ID of the work item related to this activity. This field is a relationship field.",
"relationship_name": "WorkItem",
"refers_to": "WorkItem"
}
},
"usage": "Use this object to audit activities, troubleshoot errors, and track the history of work items, pipelines, and projects. DevOps Center records every operation that occurs, from project creation to final promotion. If an operation fails, the RequestInfoErrorDetails field provides specific log information to help pinpoint issues such as merge conflicts or dependency failures.",
"associated_objects": "This object has the following associated objects. If the API version isnt specified, theyre available in the same API versions as this object. Otherwise, theyre available in the specified API version and later.\n\n- **DevopsActivityLogShare**: Sharing is available for the object.",
"wsdl_segment": "```xml\n<complexType name=\"DevopsActivityLog\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"Activity\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ActivityDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"ActivityHistories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ActivityType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ApprovalSubmissions\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ApprovalWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"AttachedContentDocuments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Attachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ChildDevopsActivityLogs\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"CombinedAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ContentDocumentLinks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Description\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"DevopsRequestInfo\" nillable=\"true\" minOccurs=\"0\" type=\"ens:DevopsRequestInfo\"/>\n <element name=\"DevopsRequestInfoId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Emails\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Events\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"FlowOrchestrationWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastReferencedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastViewedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LookedUpFromActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Name\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Notes\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"NotesAndAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"OpenActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Owner\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"OwnerId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ParentActivity\" nillable=\"true\" minOccurs=\"0\" type=\"ens:DevopsActivityLog\"/>\n <element name=\"ParentActivityId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"PerformedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"PerformedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ProcessInstances\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ProcessSteps\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"RequestInfoErrorDe
}