Web service API

How to use PageSeeder's Web service API

get externaluri source metadata

/externaluris/{uri}/source/metadata [GET]

com.pageseeder.uri.FetchExternalURIMetadata

Description

Extract the metadata from the specified external URI.

Parameters

NameDescriptionRequiredTypeDefault value
reloadWhether to reload the metadata cache for this URInobooleanfalse

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"
                      retrieved="2019-10-08T15:06:08+11:00"
                      title="Wikipedia:Example - Wikipedia"
                      description=""
                      image=""
                      icon="https://en.wikipedia.org/static/apple-
                            touch/wikipedia.png"
                      siteName="en.wikipedia.org">
   <meta name="..." value="..."/>
   ...
 </url-source-metadata>

Error Handling

No specific errors expected for this generator.

Created on , last edited on