curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/shareable-deep-links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "myapp.com",
"patterns": {
"posts": "/posts/{postId}",
"communities": "/communities/{communityId}",
"users": "/users/{userId}",
"livestreams": "/livestreams/{livestreamId}"
}
}'
{
"domain": "myapp.com",
"patterns": {
"posts": "/posts/{postId}",
"communities": "/communities/{communityId}",
"users": "/users/{userId}",
"livestreams": "/livestreams/{livestreamId}"
}
}
Create or update shareable deep links configuration with domain and path patterns.
curl --request PUT \
--url https://apix.us.amity.co/api/v3/network-settings/shareable-deep-links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "myapp.com",
"patterns": {
"posts": "/posts/{postId}",
"communities": "/communities/{communityId}",
"users": "/users/{userId}",
"livestreams": "/livestreams/{livestreamId}"
}
}'
{
"domain": "myapp.com",
"patterns": {
"posts": "/posts/{postId}",
"communities": "/communities/{communityId}",
"users": "/users/{userId}",
"livestreams": "/livestreams/{livestreamId}"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Configuration for shareable deep links
The body is of type object
.
Shareable deep links configuration
The response is of type object
.