Skip to main content

 Services

Web services from /about to /webhooks

get externaluri source metadata forurl

/externaluris/forurl/source/metadata [GET]

Description

Extract the metadata from the specified external URI (doesn’t need to have been created in PageSeeder).

Parameters

NameDescriptionRequiredTypeDefault
urlThe URL for the external URIyesurl
method
The HTTP method for loading the URL (GET|HEAD)noenum
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.

Created on , last edited on