Moderation Action Type

Provides the moderation action types that can be taken through the moderation endpoints.

Resource URIs

Item URI: /v7.1/moderation_action_type/{pk}/

Collection URI: /v7.1/moderation_action_type/

Item

Item Methods

GET Retrieve a Moderation Action Type by id

Item properties

Name Description Type HTTP Support
name Read-Only. The name signifying the type of action. JSON type GET: required

self A link to this resource

Collection

Collection methods

GET Get a list of Moderation Action Types.

self A link to this resource

Embedded collections

moderation_action_type A collection of Moderation Action Types with properties as described under Item properties and links as described under Item links

Usage

GET Moderation Action Type entity

Request GET: /v7.1/moderation_action_type/1/
Response
{
   "_links":{
      "self":[
         {
            "href":"/v7.1/moderation_action_type/1/",
            "id":"1"
         }
      ],
      "documentation":[
         {
            "href":"https://developer.underarmour.com/docs/Moderation_Action_Type"
         }
      ]
   },
   "name":"Flagged"
}

GET Moderation Action Type collection

Request GET: /v7.1/moderation_action_type/
Response
{
   "_links":{
      "self":[
         {
            "href":"/v7.1/moderation_action_type/?limit=20&offset=0"
         }
      ],
      "documentation":[
         {
            "href":"https://developer.underarmour.com/docs/Moderation_Action_Type"
         }
      ]
   },
   "_embedded":{
      "moderation_action_type":[
         {
            "_links":{
               "self":[
                  {
                     "href":"/v7.1/moderation_action_type/1/",
                     "id":"1"
                  }
               ]
            },
            "name":"Flagged"
         },
         {
            "_links":{
               "self":[
                  {
                     "href":"/v7.1/moderation_action_type/2/",
                     "id":"2"
                  }
               ]
            },
            "name":"Unflagged"
         },
         {
            "_links":{
               "self":[
                  {
                     "href":"/v7.1/moderation_action_type/3/",
                     "id":"3"
                  }
               ]
            },
            "name":"Allowed"
         },
         {
            "_links":{
               "self":[
                  {
                     "href":"/v7.1/moderation_action_type/4/",
                     "id":"4"
                  }
               ]
            },
            "name":"Removed"
         }
      ]
   },
   "total_count":4
}