GET /hubs/{hubName}/objects

GET /hubs/{hubName}/objects

Retrieve a list of all data objects in an adapter.

Path Parameters

hubNameThe name of hub that the adapter is in.

Header Parameters

Required: Authorization including User Secret, Organization Secret, and Adapter Instance Token

 

Response Fields

The response is a JSON list of objects.

Example Request

curl -X GET \
  https://api-us.integrate.sugarapps.com/elements/api-v2/objects \
  -H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2, Element yCCtl7Pqx0E4Qf6MBFXxT+/QcbogS1q1Deyw+1vSW=A3' \
  -H 'Content-Type: application/json' \

Example Response

[  
  "Account",
  "ApexTestResult",
  "CaseContactRole",
  "SearchPromotionRule",
  "ApexTestResultLimits",
  "UserProvAccountStaging",
  "FeedAttachment",
  "Document",
  "ContactCleanInfo",
  "ContentWorkspaceMember",
]