@@ -8734,6 +8734,74 @@ paths:
87348734 curl -H "Authorization: Bearer $smartlingToken" -H "Content-Type: application/json" \
87358735 https://api.smartling.com/vendors-api/v2/agencies/{agencyUid}/jobs
87368736
8737+ /vendors-api/v2/accounts/{accountUid}/content-assignments:
8738+ get:
8739+ summary: List content assignments
8740+ description: Returns the list of content assignments for the account.
8741+ tags:
8742+ - Vendors
8743+ operationId: getContentAssignmentsByAccount
8744+
8745+ parameters:
8746+ - name: accountUid
8747+ in: path
8748+ required: true
8749+ description: The account's unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.
8750+ schema:
8751+ type: string
8752+
8753+ responses:
8754+ 200:
8755+ description: OK
8756+ content:
8757+ application/json:
8758+ examples:
8759+ response:
8760+ value:
8761+ response:
8762+ code: SUCCESS
8763+ data:
8764+ items:
8765+ - accountUid: "111222333"
8766+ accountName: "Test account"
8767+ projectUid: "111222333"
8768+ projectName: "Test Project"
8769+ localeId: "es-ES"
8770+ workflowUid: "111222333444"
8771+ workflowName: "Example Workflow"
8772+ workflowStepUid: "111222333444"
8773+ workflowStepName: "Translation"
8774+ workflowStepType: "TRANSLATION"
8775+ translationJobUid: "111222333444"
8776+ translationJobName: "Example Job"
8777+ translationJobWorkflowStepDueDate: "2025-01-20T18:01:00Z"
8778+ translationJobOverallDueDate: "2025-01-20T18:01:00Z"
8779+ userUid: null
8780+ userFirstName: null
8781+ userLastName: null
8782+ userEmail: null
8783+ agencyUid: null
8784+ agencyName: null
8785+ wordCount: 300
8786+ workflowStepOrder: 2
8787+ assignmentEnabled: false
8788+ schema:
8789+ $ref: '#/components/schemas/VendorsAPIContentAssignmentsSuccessResponse'
8790+ 400:
8791+ $ref: '#/components/responses/Error400ResponseDefinition'
8792+ 401:
8793+ $ref: '#/components/responses/Error401ResponseDefinition'
8794+ 429:
8795+ $ref: '#/components/responses/Error429ResponseDefinition'
8796+ 500:
8797+ $ref: '#/components/responses/Error500ResponseDefinition'
8798+
8799+ x-code-samples:
8800+ - lang: curl
8801+ source: |
8802+ curl -H "Authorization: Bearer $smartlingToken" \
8803+ https://api.smartling.com/vendors-api/v2/accounts/{accountUid}/content-assignments
8804+
87378805#
87388806# Reports API
87398807#
@@ -13675,6 +13743,98 @@ components:
1367513743 - progressDetails
1367613744 - translationJob
1367713745 type: object
13746+ VendorsAPIContentAssignmentsSuccessResponse:
13747+ type: object
13748+ required:
13749+ - response
13750+ properties:
13751+ response:
13752+ allOf:
13753+ - $ref: '#/components/schemas/SuccessResponse'
13754+ - properties:
13755+ data:
13756+ properties:
13757+ items:
13758+ items:
13759+ $ref: '#/components/schemas/VendorsAPIContentAssignmentItem'
13760+ type: array
13761+ required:
13762+ - items
13763+ type: object
13764+ type: object
13765+ VendorsAPIContentAssignmentItem:
13766+ properties:
13767+ accountUid:
13768+ type: string
13769+ accountName:
13770+ type: string
13771+ projectUid:
13772+ type: string
13773+ projectName:
13774+ type: string
13775+ localeId:
13776+ type: string
13777+ workflowUid:
13778+ type: string
13779+ workflowName:
13780+ type: string
13781+ workflowStepUid:
13782+ type: string
13783+ workflowStepName:
13784+ type: string
13785+ workflowStepType:
13786+ type: string
13787+ translationJobUid:
13788+ type: string
13789+ translationJobName:
13790+ type: string
13791+ translationJobWorkflowStepDueDate:
13792+ format: date-time
13793+ type: string
13794+ translationJobOverallDueDate:
13795+ format: date-time
13796+ type: string
13797+ userUid:
13798+ type: string
13799+ nullable: true
13800+ userFirstName:
13801+ type: string
13802+ nullable: true
13803+ userLastName:
13804+ type: string
13805+ nullable: true
13806+ userEmail:
13807+ type: string
13808+ nullable: true
13809+ agencyUid:
13810+ type: string
13811+ nullable: true
13812+ agencyName:
13813+ type: string
13814+ nullable: true
13815+ wordCount:
13816+ type: integer
13817+ workflowStepOrder:
13818+ type: integer
13819+ assignmentEnabled:
13820+ type: boolean
13821+ required:
13822+ - accountUid
13823+ - accountName
13824+ - projectUid
13825+ - projectName
13826+ - localeId
13827+ - workflowUid
13828+ - workflowName
13829+ - workflowStepUid
13830+ - workflowStepName
13831+ - workflowStepType
13832+ - translationJobUid
13833+ - translationJobName
13834+ - wordCount
13835+ - workflowStepOrder
13836+ - assignmentEnabled
13837+ type: object
1367813838 WebPageDetailListRequest:
1367913839 properties:
1368013840 webPageUids:
0 commit comments