getPublishContexts getpublishcontexts

構文

認証済みユーザータイプ section-1a3a50349b5640dd8e498ff9e9c37340

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
  • アセットを返すには、読み取りアクセス権が必要です。
  • すべてのユーザーが共有会社にアクセスできます。

パラメーター section-d08e2175d3f84774b55b91bc590b8b3f

入力 (getPublishContextsParam)

名前
種類
必須
説明
companyHandle
xsd:string
はい
会社に対する取り扱い。
contextType
xsd:string
いいえ

返す発行コンテキストのタイプ。 次を含む:

  • ImageServing
  • ImageRendering
  • ビデオ
  • ServerDirectory

出力 (getPublishContextsReturn)

名前
種類
必須
説明
publishContextArray
types:PublishContextArray
はい
会社の公開コンテキストの配列。必要に応じてコンテキストタイプでフィルタリングします。

section-23fb7d6a15004b7eb4c3d3bcb37ceb04

リクエスト

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

応答

<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