/oauth/token
The Ushahidi login username/email
test@ushahidi.com
The Ushahidi password
Doc@test2022
Login grant type. Use Password for this grant type
password
The user client ID
ushahidiui
The client unique secret indentifier
35e7f0bca957836d05ca0492211b0ac707671261
You need to also provide the scope. you can add multiple scope to this parameters. (Scope Options - posts, country_codes, media, forms, api, tags, savedsearches, sets, users, stats, layers, config, messages, notifications, webhooks, contacts, roles, permissions, csv, tos dataproviders, migrate, apikeys)
posts country_codes media forms api tags savedsearches sets users stats layers config messages notifications webhooks contacts roles permissions csv tos dataproviders migrate apikeys
/api/v3/posts/{parent_id}/revisions
Parent Identifier
Sorting parameter Available values : entity fields Default value : post_date
Sorting parameter Available values : [ASC,DESC] !! Default value : DESC "default not working"
Paging parameter Default value : null
Paging parameter Default value : 0
!!! Paging parameter to activate the limit of posts or not Default value : 0 Note: if it is true then the max value of limit is equal or less than the config (list_admin_max_limit) !!! not working , forced to be 1 in post controller
!!! Filter parameter to set the status of posts to be returned Available values: [archived,draft,published] Default value : published Accepts multiple values: as an array or as a string but they will be separated by a comma !! if it is not set it will be published only "hard-coded"
Filter parameter to set the type of posts to be returned Available values: [report, update, revision] Default value : report
Filter parameter to set the local of posts to be returned Available values: codes returned from api v5/languages
Filter parameter to set the local of posts to be returned
Filter parameter to set the user/users who created the posts to be returned Accepts multiple values: as an array or as a string but they will be separated by a comma Special case: accept (me) as special value to return the post of the current user Special case: accept (none) as special value to return the post null value of user_id
Filter parameter to set the parents of the posts to be returned Accepts multiple values: as an array or as a string but they will be separated by a comma Special case: accept (none) as special value to return the post null value of user_id
Filter parameter to set the form/forms of the posts to be returned Accepts multiple values: as an array or as a string but they will be separated by a comma Special case: accept (none) as special value to return the post null value of user_id
Filter parameter to set the collection/collections of the posts to be returned Accepts multiple values: as an array or as a string but they will be separated by a comma
Filter parameter to set the category/categories of the posts to be returned Return Posts matching any of these Tags (Boolean OR) Accepts multiple values: as an array or as a string but they will be separated by a comma
Filter parameter to set the category/categories of the posts to be returned Return Posts matching any of these Tags (Boolean OR) Accepts multiple values: as an array or as a string but they will be separated by a comma
Filter parameter if this parameter is integer it will return the post with id equal the value if this parameter is string then the api will return posts containing q text in title or content properties
Filter parameter this parameter may used for check if a single post meets other filter conditions
Filter parameter to return posts before this id
Filter parameter to return posts after this id
Date filter parameter to return posts are created before this date
Date filter parameter to return posts are created after this date
Date filter parameter to return posts are updated before this date
Date filter parameter to return posts are updated after this date
Date filter parameter to return posts have post-date before this date
Date filter parameter to return posts have post-date after this date
Spatial filter parameter to set the boundaries of the posts to be returned This parameter value is (west,north,east,south)
Spatial filter parameter to set the boundaries of the posts to be returned This parameter value is (lat,lng) This parameter and (within_km) parameter work together.
Spatial filter parameter to set the boundaries of the posts to be returned This parameter and (center_point) parameter work together.
Filter parameter return the posts with is published for this roles. This feature id deprecated Accepts multiple values: as an array or as a string but they will be separated by a comma
Filter parameter to set the sources of the posts to be returned Accepts multiple values: as an array or as a string but they will be separated by a comma
Specify values to include depending on the type Accepts multiple values: as an array or as a string but they will be separated by a comma
Specify values to include depending on the survey fields names Accepts multiple values: as an array or as a string but they will be separated by a comma
Append unmapped totals to stats
filter parameter Available values : [unmapped,mapped] Default value : id
Return results parameter if it's equal 1 then return the core fields !! but it's doesn't work now