TemplateCategory/Id/Templates

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Gets all Templates from the given TemplateCategory.

[edit] Summary

URL: https://api.oxygennext.com/TemplateCategory/Id/Templates.format
Formats: Xml, Json
Requires Authentication (about Authentication): true
HTTP Method(s): GET
API rate limited (about Rate Limiting): true

[edit] Parameters

Id = Id (Guid) from the TemplateCategory.


Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<ListOfTextTemplate>
  <TextTemplate>
    <TemplateLink readonly="true">https://api.oxygennext.com/Template/d2290d65-cea4-4b98-8c96-c1b5d66b19d1</TemplateLink>
    <TemplateFileLink>https://api.oxygennext.com/Content//TextTemplates/816fef72-0b69-4241-8475-7440ec0b2135.swf</TemplateFileLink>
    <TemplateFileThumbLink>https://api.oxygennext.com/Content//TextTemplates/816fef72-0b69-4241-8475-7440ec0b2135.swf.thumb</TemplateFileThumbLink>
    <Name>a01v2 - bild 16x9 - 1Titel 1Text 1Preis</Name>
    <ParentCategory readonly="true">https://api.oxygennext.com/TemplateCategory/351abeb6-0c54-40ad-93ec-f12e93e66370</ParentCategory>
    <AdditionalNotes />
    <Created readonly="true">11/13/2009 12:36:19 PM</Created>
    <FileSize readonly="true">435477</FileSize>
    <Delete>https://api.oxygennext.com/Template/d2290d65-cea4-4b98-8c96-c1b5d66b19d1/Delete</Delete>
    <Copy>https://api.oxygennext.com/Template/d2290d65-cea4-4b98-8c96-c1b5d66b19d1/CopyTo/{targetGuid}</Copy>
    <Move>https://api.oxygennext.com/Template/d2290d65-cea4-4b98-8c96-c1b5d66b19d1/MoveTo/{targetGuid}</Move>
  </TextTemplate>
</ListOfTemplate>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://api.oxygennext.com/TemplateCategory/351abeb6-0c54-40ad-93ec-f12e93e66370/Templates

Do you have an example to share in the language of your choice? Please share!


Personal tools