api_auth

<back to all web services

AppAuthorizationRequest

The following routes are available for this service:
GET/api/appAuthorizationInformation about specified application authorizationApplicaition authorization is permission granted to some application by bit.pub user to perform certain operations and access certain data on that user's behalf
AppAuthorizationRequest Parameters:
NameParameterData TypeRequiredDescription
IDquerylongYesTarget application authorization ID
AppAutorizationInfo Parameters:
NameParameterData TypeRequiredDescription
AppHardwareNameformstringNo
AppUserNameformstringNo
AuthorizationIDformlongNo
CreationTimeformDateTimeNo
ExpirationTimeformDateTime?No
ScopeIDformshortNo

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

HTTP + XML

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

GET /api/appAuthorization HTTP/1.1 
Host: 1.hyper.id 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AppAutorizationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bitpub.Api.Auth.Common">
  <AppHardwareName>String</AppHardwareName>
  <AppUserName>String</AppUserName>
  <AuthorizationID>0</AuthorizationID>
  <CreationTime>0001-01-01T00:00:00</CreationTime>
  <ExpirationTime>0001-01-01T00:00:00</ExpirationTime>
  <ScopeID>0</ScopeID>
</AppAutorizationInfo>