Fetch mention children

GET /accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}/children

This method will allow you to fetch a list of all children mention for a given mention.

Parameters

  • account_id (string) - Id of the account
  • alert_id (number) - Id of the alert
  • mention_id (number) - Id of the mention

Page content


Minimal curl example

curl -ig 'https://api.mention.net/api/accounts/{account_id}/alerts/{alert_id}/mentions/{mention_id}/children' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Accept-Version: 1.19'

Available attributes

There are attributes that can be passed in the querystring

Properties Definition Example
before_date Return mentions older than given date 2011-11-16T19:20:30.12345+01:00
limit Number of mentions to return (default 20, max 100). Use a small limit to get faster response times. 20

Before date

before_date

This query string attribute indicates that you want to fetch only mentions older than the given date.

Limit

limit

This is the limit of mentions you want to fetch.


Request example

  • Headers
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept-Version: 1.19
  • Body

None


Response example

  • Body
{
  "children": [
    { ... mention ... },
    { ... mention ... },
    ...
  ],
  "_links": {
    "more": {
      "href": "... url to get older mentions ...",
      "params": {
        "limit": 20,
        "before_date": "2014-03-20T18:10:37.53829200+00:00"
      }
    }
  }
}

More

more

Json object that contains an "href" attribute, which is an url that enables you to fetch tasks older than the oldest mention of the page.