getPublishContexts getpublishcontexts

Syntax

Autorisierte Benutzertypen section-1a3a50349b5640dd8e498ff9e9c37340

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
  • Der Benutzer muss über Lesezugriff verfügen, um die Assets zurückzugeben.
  • Alle Benutzer haben Zugriff auf das freigegebene Unternehmen.

Parameter section-d08e2175d3f84774b55b91bc590b8b3f

Eingabe (getPublishContextsParam)

Name
Typ
Erforderlich
Beschreibung
companyHandle
xsd:string
Ja
Handle mit dem Unternehmen.
contextType
xsd:string
Nein

Der Typ des Veröffentlichungskontexts, den Sie zurückgeben möchten. Umfasst:

  • ImageServing
  • ImageRendering
  • Video
  • ServerDirectory

Ausgabe (getPublishContextsReturn)

Name
Typ
Erforderlich
Beschreibung
publishContextArray
Typen:PublishContextArray
Ja
Ein Array von Veröffentlichungskontexten für ein Unternehmen, bei Bedarf nach Kontexttyp gefiltert.

Beispiele section-23fb7d6a15004b7eb4c3d3bcb37ceb04

Anforderung

<getPublishContextsParam xmlns="http://www.scene7.com/IpsApi/xsd/2011-11-04">
  <companyHandle>c|301</companyHandle>
</getPublishContextsParam>

Antwort

<getPublishContextsReturn xmlns="http://www.scene7.com/IpsApi/xsd">
  <publishContextArray>
    <items>
      <contextHandle>pc|3001</contextHandle>
      <contextName>ImageRendering</contextName>
      <contextType>ImageRendering</contextType>
    </items>
    <items>
      <contextHandle>pc|3002</contextHandle>
      <contextName>ImageServing</contextName>
      <contextType>ImageServing</contextType>
    </items>
    <items>
      <contextHandle>pc|3003</contextHandle>
      <contextName>ServerDirectory</contextName>
      <contextType>ServerDirectory</contextType>
    </items>
    <items>
      <contextHandle>pc|3004</contextHandle>
      <contextName>Video</contextName>
      <contextType>Video</contextType>
    </items>
  </publishContextArray>
</getPublishContextsReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681