curl -X POST https://graph.oculus.com/$APP_ID/app_deeplink_public -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=the_front_porch" -d "create_room=true" -d "fields=url"
Parameter | Param Type | Description | Type |
---|---|---|---|
destination_api_name | Query | The name of the destination the deep link routes to. | string |
deeplink_message_override | Query | Optional. An optional field to add additional information to the launch. | string |
valid_for | Query | The hours until the link expires. The default is one week. 0 means the link never expires. Null defaults to one week. | integer |
Parameter | Description | Type |
---|---|---|
id | The id of the group launch deep link. | integer |
{"id":"012345678911"}
curl -X POST https://graph.oculus.com/$APP_ID/app_deeplink_private -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=the_front_porch" -d "create_room=true" -d "fields=url" -d "leader=$USER_ID" -d "users[]=$USER_ID_2&users[]=$USER_ID_3"
curl -X POST https://graph.oculus.com/$APP_ID/app_deeplink_private -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=the_front_porch" -d "create_room=false" -d "fields=url" -d "leader=$USER_ID"
Parameter | Param Type | Description | Type |
---|---|---|---|
destination_api_name | Query | The name of the destination the deep link routes to. | string |
deeplink_message_override | Query | Optional. An optional field to add additional information to the launch. | string |
valid_for | Query | The hours until the link expires. The default is one week. 0 means the link never expires. Null defaults to one week. | integer |
leader | Query | Optional. The id of the user who created the private deep link. | integer |
users | Query | Optional. The list of users using the private deep link. | A comma-separated list of strings |
Parameter | Description | Type |
---|---|---|
id | The id of the group launch deep link. | integer |
{"id":"012345678910"}
GET /{link-id}/?fields=url,expiration_time,users\{alias\}
HTTP/1.1
Host: graph.oculus.com
Authorization: Bearer OC|1234757621998335|1234f7a788b0c0b270f9691d0a06d5a5
curl -G https://graph.oculus.com/$GROUP_LAUNCH_ID -d "access_token=OC|$APP_ID|$APP_SECRET" -d "fields=url,expiration_time,users{alias}"
Parameter | Param Type | Description | Type |
---|---|---|---|
id | Path | The id of the group launch deep link. | integer |
url | Query | The url of the deep link. | string |
destination | Query | The id of the destination the deep link routes to. | integer |
room | Query | Optional. The id of the room the destination routes to. | integer |
leader | Query | Optional. The id of the user who created the private deep link. | integer |
users | Query | Optional. The list of users using the private deep link. | A comma-separated list of strings |
deeplink_message_override | Query | Optional. An optional field to add additional information to the launch. | string |
valid_for | Query | The hours until the link expires. The default is one week. 0 means the link never expires. Null defaults to one week. | integer |
{"id":"012345678912", "url":"https:\/\/www.oculus.com\/vr\/01234578999\/"}
GET /{link-id}/?fields=url,expiration_time,users\{alias\}
HTTP/1.1
Host: graph.oculus.com
Authorization: Bearer OC|1234757621998335|1234f7a788b0c0b270f9691d0a06d5a5
curl -X DELETE https://graph.oculus.com/$GROUP_LAUNCH_ID -d "access_token=OC|$APP_ID|$APP_SECRET"
Parameter | Description | Type |
---|---|---|
success | A boolean that defines whether or not the request was successful. | boolean |
{"success":true}
app_deeplink_private
Parameter | Example value |
---|---|
destination_api_name | multiplayer_arcade_1v1 |
deeplink_message_override | tournament_match=1234 |
leader | 5678910 |
users | %5B"11121314"%5D |
valid_for | 720 |
curl -X POST "https://graph.oculus.com/$APP_ID/app_deeplink_private" -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=multiplayer_arcade_1v1" -d "deeplink_message_override=tournament_match=1234" -d "leader=$USER_ID" -d "users=['$USER_ID']" -d "valid_for=0"
app_deeplink_public
Parameter | Example value |
---|---|
destination_api_name | character_editor |
deeplink_message_override | item=bunny_ears_5 |
valid_for | 0 |
curl -X POST "https://graph.oculus.com/$APP_ID/app_deeplink_private" -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=character_editor" -d "deeplink_message_override=item=_bunny_ears_5" -d "valid_for=0"
app_deeplink_private
Parameter | Example value |
---|---|
destination_api_name | menu |
deeplink_message_override | account_nonce=1234abcd56ef |
valid_for | 1 |
curl -X POST "https://graph.oculus.com/$APP_ID/app_deeplink_private" -d "access_token=OC|$APP_ID|$APP_SECRET" -d "destination_api_name=menu" -d "deeplink_message_override=account_nonce=1234abcd56ef" -d "leader=$USER_ID" -d "valid_for=1"