Moderation Status

A resource that allows a user to view the Moderation Status of a specific resource or resource type. Users will need the appropriate permissions to view the results.

Resource URIs

Collection URI: /v7.0/moderation_status/

Item

Item properties

Name Description Type HTTP Support
score A value representing the number of flags that a resource has against it. JSON type GET: required

self A link to this resource moderation_action_type Required. Link to the action type that is being taken. Valid values are limited by a user’s permissions. Basic access allows users to FLAG and UNFLAG a resource. resource Required. Link to the resource this action is being applied to.

Collection

Collection methods

GET Get a list of Moderation Statuss.

Collection properties

Name Description Type HTTP Support
total_count The total number of statuses that match the request JSON type GET: required

self A link to this resource

Embedded collections

moderation_status A collection of Moderation Statuss with properties as described under [Item properties][#item-properties] and links as described under [Item links][#item-links]

GET Moderation Status collection

Request GET: /v7.0/moderation_status/
Response
{
   "_links":{
      "self":[
         {
            "href":"\/v7.0\/moderation_status\/?limit=20&offset=0"
         }
      ],
      "documentation":[
         {
            "href":"https:\/\/developer.mapmyfitness.com\/docs\/v70_Moderation_Status"
         }
      ]
   },
   "_embedded":{
      "moderation_status":[
         {
            "score":1,
            "_links":{
               "action":[
                  {
                     "href":"\/v7.0\/moderation_action_type\/1\/",
                     "id":"1"
                  }
               ],
               "self":[
                  {
                     "href":"\/v7.0\/moderation_status\/1\/",
                     "id":"1"
                  }
               ],
               "resource":[
                  {
                     "href":"the href"
                  }
               ]
            }
         }
      ]
   },
   "total_count":1
}