Provider Analytics
Read persisted Facebook Page provider observations
GET
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthfrom?integerRange
0 <= valueto?integerRange
0 <= valuemetricName?stringLength
1 <= length <= 255postdotEntityType?stringValue in
"channel""publication"cursor?stringLength
1 <= length <= 2048subjectType?stringValue in
"account""content"providerSubjectId?stringLength
1 <= lengthpostdotEntityId?stringLength
1 <= lengthlimit?integerRange
1 <= value <= 500Response for status 200
application/json- response
contractVersion*integerRange
1 <= valueprojectId*stringLength
1 <= lengthprovider*stringLength
1 <= lengthobservations*array<>limit*integerRange
1 <= value <= 500hasMore*booleannextCursor?string|nullcurl -X GET 'https://postdot.example/api/projects/string/analytics/provider/facebook'Example Response
{
"contractVersion": 1,
"projectId": "string",
"provider": "string",
"observations": [
{
"id": "string",
"projectId": "string",
"provider": "string",
"subjectType": "account",
"providerSubjectId": "string",
"providerSubjectLabel": "string",
"providerContentRevisionId": "string",
"postdotEntityType": "channel",
"postdotEntityId": "string",
"metricName": "string",
"value": 0,
"unit": "string",
"aggregation": "string",
"reportingPeriodStart": 0,
"reportingPeriodEnd": 0,
"observedAt": 0,
"fetchedAt": 0,
"availability": "measured",
"freshness": "fresh",
"provenance": "string"
}
],
"limit": 1,
"hasMore": true,
"nextCursor": "string"
}