Starting from a Publication URL
Submit an HTTP request like this:
curl -u user:password -X GET http://host-ip-address/webservice/escenic/publication/publication-name/
This returns a single Atom entry (not a feed) containing information about the requested publication. Your client program must then parse the entry and extract the URLs it needs. Below is an example of a publication entry:
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:metadata="http://xmlns.escenic.com/2010/atom-metadata"> <id>http://host-ip-address/webservice/escenic/publication/demopub/</id> <link rel="self" href="http://host-ip-address/webservice/escenic/publication/demopub/" type="application/atom+xml; type=entry"/> <link rel="edit" href="http://host-ip-address/webservice/escenic/publication/demopub/" type="application/atom+xml; type=entry"/> <link rel="http://www.vizrt.com/types/relation/lock" href="http://host-ip-address/webservice/escenic/lock/publication/9/e9319c09" type="application/atom+xml; type=entry"/> <dcterms:identifier>9</dcterms:identifier> <link href="http://host-ip-address/webservice/escenic/publication/demopub/" rel="http://www.vizrt.com/types/relation/top" type="application/atom+xml; type=entry" title="demopub"/> <link href="http://host-ip-address/webservice/escenic/publication/demopub/" rel="http://www.vizrt.com/types/relation/publication" type="application/atom+xml; type=entry" title="demopub"/> <metadata:publication href="http://host-ip-address/webservice/escenic/publication/demopub/" title="demopub"/> <content type="application/vnd.vizrt.payload+xml"> <vdf:payload xmlns:vdf="http://www.vizrt.com/types" model="http://host-ip-address/webservice/escenic/publication/demopub/model/content-type/com.escenic.publication"> <vdf:field name="com.escenic.publicationFeatures"> <vdf:value>qualification.flaggedSectionUniqueName=flagged usercontent.picture.file.maxsize=5242880 article.list.age.max=2880 article.list.age.default=2880 qualification.userQualificationEnabled=true wf.conventionalInheritance=false blueprint.active=blueprint qualification.flaggingThreshold=5 multimedia.image.virtualVersions=true </vdf:value> </vdf:field> </vdf:payload> </content> <link href="http://demopub.host-ip-address/" rel="alternate"/> <link rel="down" href="http://host-ip-address/webservice/escenic/section/40" type="application/atom+xml; type=entry" title="Front Page"/> <title type="text">demopub</title> </entry>
A publication entry carries a VDF payload containing the publication's
feature settings. The entry's links represent the operations available
for the publication. In particular, the publication entry's
down
link (highlighted) will return an entry for
the publication's root section.