(People Team) CSV export of nominations.
GET
/mvp/reports/export
const url = 'https://api.gospl.example/v1/mvp/reports/export?type=individual';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.gospl.example/v1/mvp/reports/export?type=individual' \ --header 'Authorization: Bearer <token>'People-Team-only. Monthly (type + period) or annual (type + year). Exact columns + whether the nominator is named depend on the anonymity rule (Q6) — TODO before columns are frozen.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” type
required
string
period
string
Monthly export. Mutually exclusive with year.
year
integer
Annual export. Mutually exclusive with period.
Responses
Section titled “ Responses ”CSV export.
Media type text/csv
string
Invalid request.
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}Missing/invalid credentials.
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}Authenticated but not permitted (incl. non–People-Team, cross-tenant).
Media type application/json
object
code
required
string
message
required
string
Example generated
{ "code": "example", "message": "example"}