CSV

get all csv

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
orderbystringOptional

Sorting parameter Available values : entity fields Default value : id

Example: id
orderstringOptional

Sorting parameter Available values : [ASC,DESC] Default value : ASC

Example: Desc
limitinteger · int32Optional

Paging parameter Default value : null

Example: 2
offsetinteger · int32Optional

Paging parameter Default value : 0

Example: 3
columnsstringOptional

Filter parameter check the columns value

Example: col1,col2
maps_tointeger · int32Optional

Filter parameter check the maps_to value

Example: 2
fixedinteger · int32Optional

Filter parameter check the fixed value

Example: 1
filenamestringOptional

Filter parameter check the filename value

Example: file.csv
Responses
200

OK

application/json
get
/api/v3/csv

add csv

POST https://ushahididocs.api.ushahidi.io/api/v3/csv

Request Body

Name
Type
Description

file

String

CSV file

size

String

CSV file size

add csv

PUT https://ushahididocs.api.ushahidi.io/api/v3/csv/1

Request Body

Name
Type
Description

file

String

CSV file

size

String

CSV file size

get csv

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/api/v3/csv/20

deletecsv

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
delete
/api/v3/csv/1

import csv

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success

No content

post
/api/v3/csv/2/import
200Success

No content