RedTeam
Others
API
Notes
Type-of-API-and-Privacy
1.type and Privacy

Type of API's

RESTful API (Architectural pattern)

  • Most common API
  • Uses JSON
  • Has a defined structure in request
  • Use of HTTP (GET, POST, etc..)

GraphQL

  • Newcomer on the scene
  • Uses a custom query language
  • Single endpoint powers all of the API

Others

  • Standalone JSON calls
  • Web-socket are also used as API's'

Methods

  • GET
  • HEAD
  • POST
  • PUT
  • DELETE
  • CONNECT
  • OPTIONS
  • TRACE
  • PATCH

Privacy

PrivacyAvailabilityDocumented
PublicAvailable to the publicDocumented
Semi-PublicSemi-AvailableDocumented between two parties
PrivateAvailable for the companyDocumented Internally