get externaluri source metadata forurl
/externaluris/forurl/source/metadata [GET]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.9800 | 5.9909 | xml, json |
Description
Extract the metadata from the specified external URI (doesn’t need to have been created in PageSeeder).
Parameters
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| url | The URL for the external URI | yes | url | |
| method | The HTTP method for loading the URL (GET|HEAD) | no | enum | GET |
Permission
Any logged in user can invoke this service.
Response
The output has the following format:
<url-source-metadata
url="https://en.wikipedia.org/wiki/Wikipedia:Example"
status="[ok|warning|has_error|internal|invalid_host|malformed|
not_found|ps_source|redirect|requires_authentication|
unreachable|unsupported_scheme|virtual]"
retrieved="2019-10-08T15:06:08+11:00"
title="Wikipedia:Example - Wikipedia"
description=""
image=""
icon="https://en.wikipedia.org/static/apple-touch/wikipedia.png"
site-name="en.wikipedia.org"
canonical=""
[url-type=""]
[error=""]>
<meta name="..." value="..."/>
...
</url-source-metadata>
Error Handling
No specific errors expected for this service.