/api/reports/views/:id/text

This method return custom content and its metadata.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the view. This ID is part of the /api/reports/:id response.

123

Sample request/response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/views/88738/text

The JSON format response:

{
  "content": "<h1>Header 1<\/h1><h2>Header 2<\/h2><p>Sample <b>bold<\/b> text<\/p>"
}

  • No labels