author
Get a list of available authors with paging and filtering.
Each author has a service_units relationship indicating the service-units to which the member belongs.
get/author
Request
- Base URLhttps://submitapi.dvidshub.net
- AuthOAuth 2Authorization codehttps://api.dvidshub.net/auth/authorizeToken URLhttps://api.dvidshub.net/auth/access_tokenScopesbasic, email, upload
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
namestring
Example:John Smith
Search by author first or last name. A trailing wildcard is used in search to "complete" the entered value.
first_namestring
Example:John
Search by author first name. A trailing wildcard is used in search to "complete" the entered value.
last_namestring
Example:John
Search by author last name. A trailing wildcard is used in search to "complete" the entered value.
vision_idstring
Example:AB123
Lookup by author vision_id, exact match.
branchstring
Example:air-force
Filter by branch slug of the author's rank.
pageinteger
Page number of results
limitinteger
Limit of results per page
Response
An array of Author objects
Example response
{
"data": [
{
"attributes": {
"name": "John Smith",
"job_grade": {
"name": "Captain",
"associated_press_name": "Capt.",
"abbreviation": "CPT",
"branch": "marines",
"job_grade": "O3",
"nato_code": "OF-2",
"country_code": "US"
},
"vision_id": "HZ1234"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.