Authentication 

Cellophane


Axis APIs are made available to third parties are authenticated using DI Auth, and require an approved client

To request access to Axis APIs, please email #DI DL-AxisTech with the following details

  • The environment you wish to access (eg: integration, production)
  • The APIs you want to access (eg: /report/v2/queue)
  • Where you wish to access the APIs from (eg: DGN, Public Internet)
  • Static IP address range requests will come from.
  • Your DI Auth client name (eg: DI Axis Gx Tools - Dev)

Please note - we do not require your DI Auth secret. Please do not send this in any communications as this poses a security risk.

To add authentication your requests, please add an Authorization header with the following format (full details on the DI Auth page)

Authorization: GAE <Client Secret>

 


 

HTTP Basic Authentication (Deprecated)

 

Environments

 

Calls

Report an Igloo

Request

ItemDetailsRemarks
Call/cstools/igloo/v1/report 
MethodPUT 
Content Typesapplication/json 
BodyIglooReportObject as described below


IglooReport

VariableTypeExampleDescriptionRemarks
layoutIdinteger123456The unique ID of the igloo layout 
accountIdString{f6c2f1ce-0fcc-448b-a229-aaaf82d9c14f}The igloo owner's SWID 
reporterIdString{781efe90-5699-40f1-accd-8f1fddd4094b}The reporter's SWIDOptional
reasonCodeString The reason codeCodes are defined below

 

Response

ItemDetailsRemarks
CodeHTTP/200 on success, HTTP/400+ on error 
BodyIglooQueuedResponse or ErrorResponseObjects as described below


IglooQueuedResponse

VariableTypeExampleDescriptionRemarks
successbooleantrueIndicates success of call 
messageString A developer friendly message in EnglishOptional
iglooApprovalIdinteger98765The ID of the approval record inserted into the database 


ErrorResponse

VariableTypeExampleDescriptionRemarks
successbooleanfalseIndicates success of callAlways false for errors
messageStringaccountId is requiredA developer friendly message in EnglishOptional
codeinteger1The integer code of the error typeSee Galaxy API Governance (Error Messaging) for a list of codes
nameStringINPUT.BAD_REQUESTThe string name of the error typeSee Galaxy API Governance (Error Messaging) for a list of names

 

Igloo Report Codes

CodeReasonPublic ReasonRemarks
LAYOUT.GENERALInappropriate LayoutInappropriate Layout 
LAYOUT.SYMBOLLayout Includes Inappropriate IconographyLayout Includes Inappropriate Images 
LAYOUT.WORDLayout Includes Inappropriate WordLayout Includes Inappropriate Words 

 

Examples

Request
{
	"layoutId": 123456,
	"accountId": "{f6c2f1ce-0fcc-448b-a229-aaaf82d9c14f}",
	"reporterId": "{781efe90-5699-40f1-accd-8f1fddd4094b}",
	"reasonCode": "LAYOUT.SYMBOL"
}
Response - Success
{
	"success":true,
	"message":null,
	"iglooApprovalId":2
}
Response - Error
{
	"success":false,
	"message":"layoutId should be a positive integer",
	"code":1,
	"name":"INPUT.BAD_REQUEST"
}
cURL
curl --user username:password --header 'Content-type: application/json' --data '@request.json' --request PUT http://dev05api01.sandbox.clubpenguin.com:8080/cstools/igloo/v1/report