resources/segments/view/workers

resources/segments/view/workers

This method permits to obtain the list of people who have done at least one edit in a segment.

You input a scope and the method returns the list of workers.

Also see resources/team to obtain an extended list of people involved with a specific document and language. This method further adds project managers, non-editing workers, etc.

URL

(GET) /resources/segments/view/workers

PARAMETERS

The parameters are a JSON object included in the request body:

scope

The scope object.

Mandatory

query

An optional filter on the segments. See Query (Object)

Optional

 

RESULTS

A JSON with these properties:

workers

An array of all workers.

If a worker edited multiple languages it will appear once per each language.

object[]

 

Each worker has these properties:

locale

The language edited by the worker

uid

Person ID. Null if current user is not authorized to see this.

uname

Person name. Null if current user is not authorized to see this.

cid

Company ID. Null if current user is not authorized to see this.

cname

Company name. Null if current user is not authorized to see this.

count

Total of segments edited in that language.

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008