Arguments
hash
String!Required
A string value used for converting long URL to short URL and vice-versa.
Response
original
ShortLinkDetailOriginal web address which will be converted to shortlink.
short_link_by_hash
ShortLinkDetailSchema for url component of short link which contains original link to be shortened, the hash of URL and the shortened URL.
Query
1query shortLink($hash: String!) {2 shortLink(hash: $hash) {3 original {4 id5 active6 app_redirect7 application8 count9 created_at10 created_by11 enable_tracking12 expire_at13 fallback14 meta15 personalized16 title17 updated_at18 user_id19 }20 short_link_by_hash {21 id22 active23 app_redirect24 application25 count26 created_at27 created_by28 enable_tracking29 expire_at30 fallback31 meta32 personalized33 title34 updated_at35 user_id36 }37 }38}
Try it
Input Variables
1{2 "hash": "hash"3}
Response
1{2 "shortLink": {3 "original": {4 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",5 "active": true,6 "app_redirect": true,7 "application": "application",8 "count": 42,9 "created_at": "created_at",10 "created_by": "created_by",11 "enable_tracking": true,12 "expire_at": "expire_at",13 "fallback": "web",14 "meta": {},15 "personalized": true,16 "title": "title",17 "updated_at": "updated_at",18 "user_id": "user_id"19 },20 "short_link_by_hash": {21 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",22 "active": true,23 "app_redirect": true,24 "application": "application",25 "count": 42,26 "created_at": "created_at",27 "created_by": "created_by",28 "enable_tracking": true,29 "expire_at": "expire_at",30 "fallback": "web",31 "meta": {},32 "personalized": true,33 "title": "title",34 "updated_at": "updated_at",35 "user_id": "user_id"36 }37 }38}
Was this section helpful?