Url Fetch Metadata
POST {{baseUrl}}/content/v1/fetchmeta
This API is associated with fetching url metadata details on the Sunbird Platform.
- The endpoint for Create Content is /content/v1/fetchmeta
- It points to knowledge-mw-service - /v1/url/fetchmeta
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"url"=>"https://github.com/project-sunbird/sunbird.org-docs"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | (Required) The Content Type entity is the media type of the resource.Possible media types can be:- |
- Application/json |
|
Authorization
| string | | (Required) To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here. | |Accept
| string | | |
RESPONSES
status: OK
{"ts":"2021-02-02T08:38:20.329Z","params":{"resmsgid":"00edd990-6532-11eb-9dac-65b700f4c009","msgid":null,"status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"url":"https://github.com/project-sunbird/sunbird.org-docs","canonical":"https://github.com/project-sunbird/sunbird.org-docs","title":"project-sunbird/sunbird.org-docs","image":"https://avatars.githubusercontent.com/u/26705730?s=400\u0026v=4","author":"","description":"Repository for documentation on sunbird.org. Contribute to project-sunbird/sunbird.org-docs development by creating an account on GitHub.","keywords":"","source":"github.com","og:url":"https://github.com/project-sunbird/sunbird.org-docs","og:locale":"","og:locale:alternate":"","og:title":"project-sunbird/sunbird.org-docs","og:type":"object","og:description":"Repository for documentation on sunbird.org. Contribute to project-sunbird/sunbird.org-docs development by creating an account on GitHub.","og:determiner":"","og:site_name":"GitHub","og:image":"https://avatars.githubusercontent.com/u/26705730?s=400\u0026v=4","og:image:secure_url":"","og:image:type":"","og:image:width":"","og:image:height":"","price":"","priceCurrency":"","availability":""}}