在程式庫上設定排名 set-rank-on-libraries

一種PUT方法,可讓您設定所有程式庫的排名順序。

請求

PUT https://api-places-dev.adobe.io/places/placesapi/v1/libraries/rank

標頭

-H 'Authorization: Bearer <TOKEN>`
-H 'x-api-key: <API KEY>'
-H 'x-gw-ims-org-id: <ORGID>'
-H 'Accept-Language: en-US'

PUT資料

"library_rank_order": ["dfcc5270-1d6d-4bc9-9cd9-85ecd5ebc12b","ea45781f-26af-44b1-b4f8-43baf5f0fe28"]
}

範例回應

{"library_rank_order" ["dfcc5270-1d6d-4bc9-9cd9-85ecd5ebc12b","ea45781f-26af-44b1-b4f8-43baf5f0fe28"]}

CURL指令

curl -X PUT `'https://api-places.adobe.io/places/placesapi/v1/libraries/rank'` -H 'x-api-key: <API KEY>' -H 'Authorization: Bearer <TOKEN>' -H 'x-gw-ims-org-id: <ORGID>' -d '{"library_rank_order": ["dfcc5270-1d6d-4bc9-9cd9-85ecd5ebc12b","ea45781f-26af-44b1-b4f8-43baf5f0fe28"]}' -H "Content-Type: application/json"
IMPORTANT
<API KEY><TOKEN><ORGID>等變數取代為實際值。
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825