Preferred Authors
List preferred authors
By default, you can only list preferred authors which have been whitelisted or blacklisted. Preferred authors who completed a document of yours but you didn't rate can be found within the uncategorized list.
- : Allow read & write access to My Authors
- : Allow read access to My Authors
- : Allow write access to My Authors
OAuth2 Bearer token authentication
The category of authors to list (lists all by default).
Prossible values:
- preferred
- blacklisted
- uncategorized
- my_textmaster (legacy, prefer 'preferred')
Search results are limited to 100 items. Specify page number to read more than the first page.
Number of items per page. Default is 100. Maximum is 100.
Lists My Authors
Unauthorized
Forbidden
GET /v1/clients/my_authors HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"total_pages": 1,
"count": 1,
"page": 1,
"per_page": 100,
"previous_page": null,
"next_page": null,
"my_authors": [
{
"id": "61698aaf8b81926d91c0e87a",
"author_id": "61698aaf8b81926d91c0e86f",
"author_name": "john",
"author_ref": "A-986F-FM",
"created_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:35 UTC"
},
"description": "description",
"latest_activity": "2021-10-15 14:05:06 UTC",
"status": "preferred",
"tags": [],
"updated_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:35 UTC"
}
}
]
}Code samples
Add a preferred author
- : Allow read & write access to My Authors
- : Allow write access to My Authors
OAuth2 Bearer token authentication
My Author Created
Unauthorized
Forbidden
Unprocessable Entity
POST /v1/clients/my_authors HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"my_author": {
"author_id": "61698ab08b81926d91c0e8a3",
"description": "Some personal note",
"status": "preferred"
}
}{
"id": "61698ab08b81926d91c0e8ae",
"author_id": "61698ab08b81926d91c0e8a3",
"author_name": "john",
"author_ref": "A-98A3-FM",
"created_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
},
"description": "Some personal note",
"latest_activity": "2021-10-15 14:05:06 UTC",
"status": "preferred",
"tags": [],
"updated_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
}
}Code samples
Get a preferred author
- : Allow read & write access to My Authors
- : Allow read access to My Authors
- : Allow write access to My Authors
OAuth2 Bearer token authentication
(required) ID of the Author
Gets My Author Info
Unauthorized
Forbidden
My Author Info Not Found
GET /v1/clients/my_authors/{author_id} HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "61698ab08b81926d91c0e8ae",
"author_id": "61698ab08b81926d91c0e8a3",
"author_name": "john",
"author_ref": "A-98A3-FM",
"created_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
},
"description": "description",
"latest_activity": "2021-10-15 14:05:06 UTC",
"status": "preferred",
"tags": [],
"updated_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
}
}Code samples
Update a preferred author
- : Allow read & write access to My Authors
- : Allow write access to My Authors
OAuth2 Bearer token authentication
(required) ID of the Author
My Author Updated
Unauthorized
Forbidden
My Author Info Not Found
Unprocessable Entity
PUT /v1/clients/my_authors/{author_id} HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"my_author": {
"description": "Updated personal note",
"status": "preferred"
}
}{
"id": "61698ab08b81926d91c0e8ae",
"author_id": "61698ab08b81926d91c0e8a3",
"author_name": "john",
"author_ref": "A-98A3-FM",
"created_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
},
"description": "description",
"latest_activity": "2021-10-15 14:05:06 UTC",
"status": "my_textmaster",
"tags": [],
"updated_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:36 UTC"
}
}Code samples
List preferred authors able to work on project
- : Allow read & write access to My Authors
- : Allow read access to My Authors
- : Allow write access to My Authors
OAuth2 Bearer token authentication
The Project ID.
The category of authors to list (lists all by default).
Prossible values:
- preferred
- blacklisted
- uncategorized
- my_textmaster (legacy, prefer 'preferred')
Search results are limited to 100 items. Specify page number to read more than the first page.
Lists possible My Authors
Unauthorized
Forbidden
GET /v1/clients/projects/{project_id}/my_authors HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"total_pages": 1,
"count": 1,
"page": 1,
"per_page": 20,
"previous_page": null,
"next_page": null,
"my_authors": [
{
"id": "61698aaf8b81926d91c0e87a",
"author_id": "61698aaf8b81926d91c0e86f",
"author_name": "john",
"author_ref": "A-986F-FM",
"created_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:35 UTC"
},
"description": "description",
"latest_activity": "2021-10-15 14:05:06 UTC",
"status": "preferred",
"tags": [],
"updated_at": {
"day": 15,
"month": 10,
"year": 2021,
"full": "2021-10-15 14:05:35 UTC"
}
}
]
}Code samples
Last updated
Was this helpful?