ShortlinksAPI

<back to all web services

GetUserLinkRequest

Requires Authentication
The following routes are available for this service:
GET/v4/links
GET/v4/links/{Id}
GetUserLinkRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathstringNo
UsernamequerystringNo
GroupIdqueryuintNo
GetUserLinkResponse Parameters:
NameParameterData TypeRequiredDescription
DataformIUserLinkNo
V4BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IUserLink Parameters:
NameParameterData TypeRequiredDescription
UrlformstringNo
BaseCodeformstringNo
LinkTypeformLinkTypeNo
TypeDefinitionPublicIdformstringNo
MetadataformVersionedRefreshableMetadataNo
LinkType Enum:
None
Simple
Split
Interstitial
Advanced
Collection
VersionedRefreshableMetadata Parameters:
NameParameterData TypeRequiredDescription
VersionCreatedDateformDateTimeNo
RefreshableMetadata Parameters:
NameParameterData TypeRequiredDescription
CreatedDateformDateTimeNo
UpdatedDateformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v4/links HTTP/1.1 
Host: shortlinks-api.qa.platform.georiot.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"status":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}