POST /assets/{asset_id}/lineages
1 min
POST
https://api.cmp.optimizely.com/v3/assets/{asset_id}/lineages
asset_idstringUnique identifier of the asset
acceptstringGenerated from available response content types
bodyobjectPayload to add an external asset lineage for a library asset
201Created external asset lineage
400Client error
401Authorization error
403Permission error
404Not found error
422Unprocessable entity error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/assets/{asset_id}/lineages \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"name": "Some website name",
"uri": "https://domain.xyz/path/to/resource"
}'