@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Abuse API
@base https://api.ote-godaddy.com
@version 2.0.0
@endpoints 6
@toc abuse(6)

@endpoint GET /v1/abuse/tickets
@optional {type: any, closed: any, sourceDomainOrIp: any, target: any, createdStart: any, createdEnd: any, limit: any, offset: any}
@returns(200)
@errors {401, 403, 422}

@endpoint POST /v1/abuse/tickets
@required {body: any}
@returns(201)
@errors {401, 403, 422}

@endpoint GET /v1/abuse/tickets/{ticketId}
@required {ticketId: any}
@returns(200)
@errors {401, 403, 404}

@endpoint GET /v2/abuse/tickets
@optional {type: any, closed: any, sourceDomainOrIp: any, target: any, createdStart: any, createdEnd: any, limit: any, offset: any}
@returns(200)
@errors {401, 403, 422}

@endpoint POST /v2/abuse/tickets
@required {body: any}
@returns(201)
@errors {401, 403, 422}

@endpoint GET /v2/abuse/tickets/{ticketId}
@required {ticketId: any}
@returns(200)
@errors {401, 403, 404}

@end
