get-H_ALIAS.rst (750B)
1 .. http:get:: /$H_ALIAS 2 3 Lookup the target URI associated with 4 an alias in the TalDir. Here, 5 ``$H_ALIAS`` is the SHA-512 hash of a prefix-free encoding of the 6 alias to be registered in Crockford base32 encoding. 7 8 **Response** 9 10 Standard HTTP cache control headers are used to specify how long the 11 registration is still expected to be valid. 12 13 :http:statuscode:`200 Ok`: 14 Registration information returned, of type `MailboxDetailResponse` 15 :http:statuscode:`404 Not found`: 16 The alias is unknown (original registration may have expired). 17 18 .. _MailboxDetailResponse: 19 .. ts:def:: MailboxDetailResponse 20 21 interface MailboxDetailResponse { 22 23 // Target URI to associate with this alias. 24 target_uri: string; 25 26 27 }