POST
https://ushahididocs.api.ushahidi.io/api/v3/posts/{parent_id}/translations
parent_id**
String
Parent Identifier
content
String
Post content
type
String
Post type
author_email
String
Email address of source
message
String
Additional message for post
url
String
Post URL
id
String
Post unique identifier
slug
String
Post slug
user_id
String
Post user indentifier
color
String
Post color
title
String
Post Tiitle
locale
String
The local language of post
status
String
Post status
author_realname
String
The full name of the Post source
published_to
Array
This contains an array of where the post was published
completed_stages
Array
Contains an array of post-completed stage
source
String
The Source of the post contains an array of post-completed stage
PUT
https://ushahididocs.api.ushahidi.io/api/v3/posts/{parent_id}/translations/{translation_id}
parent_id*
Integer
Parent Identifier
translation_id*
integer
Translation Identifier
id
String
Post unique identifier
published_to
Array
Contains an array of post-completed stage
locale
String
The local language of the post
status
String
Post status
author_realname
String
The full name of the Post source
author_email
String
The full name of the Post source
type
String
Post type
color
String
Post color
message
String
Post message
content
String
Content of post
title
String
Post title
user_id
String
Post user identifier
url
String
Post URL
source
String
The Source of the post contains an array of post-completed stage
PUT
https://ushahididocs.api.ushahidi.io/api/v3/posts/{parent_id}/translations/(local)
parent_id*
Integer
Parent Identifier
local*
String
Post locale
id
String
Post unique identifier
published_to
Array
Contains an array of post-completed stage
locale
String
The local language of the post
status
String
Post status
author_realname
String
The full name of the Post source
author_email
String
The full name of the Post source
type
String
Post type
color
String
Post color
message
String
Post message
content
String
Content of post
title
String
Post title
user_id
Integer
Post user identifier
url
String
Post URL
source
String
The Source of the post contains an array of post-completed stage
form_id
Integer
Post form identifier
/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
/api/v3/posts/{parent_id}/translations
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