Keystone Developers
Open Keystone
API reference

Edits API

Businesses changesets

1 endpoint.

GET/api/v1/edits/businesses/{business_id}/changesets

The business's changesets, newest first

Parameters

NameInTypeDescription
business_idrequiredpathstring (uuid)
limitqueryintegerdefault 20
beforequerystring (date-time) | null
authorizationheaderstring | null
X-Internal-Api-Keyheaderstring | null

Responses

200Successful Response
application/jsonSuccessResponse_list_ChangesetSummaryData__
FieldTypeDescription
request_idrequiredstring
successtruedefault true
datarequiredChangesetSummaryData[]
ChangesetSummaryData[] fields
FieldTypeDescription
idrequiredstring
statusrequiredstring
summarystring | null
author_idrequiredstring
author_namestring | null
client_idrequiredstring
created_atrequiredstring (date-time)
applied_atstring (date-time) | null
reverted_atstring (date-time) | null
itemsrequiredobject
object fields

Nested object (not expanded)

metadataResponseMetadata | null
ResponseMetadata fields
FieldTypeDescription
paginationPaginationMetadata | null
PaginationMetadata fields
FieldTypeDescription
limitrequiredinteger
next_cursorstring | null
prev_cursorstring | null
has_morerequiredboolean
has_prevbooleandefault false
total_countinteger | null
status_countsobject | null
object | null fields

Map of string to integer

lifecycle_countsLifecycleCounts | null
LifecycleCounts fields
FieldTypeDescription
leadintegerdefault 0
prospectintegerdefault 0
customerintegerdefault 0
former_customerintegerdefault 0
classification_countsClassificationCounts | null
ClassificationCounts fields
FieldTypeDescription
signalobject
object fields

Nested object (not expanded)

touchobject
object fields

Nested object (not expanded)

stageobject
object fields

Nested object (not expanded)

metaResponseMeta | null
ResponseMeta fields
FieldTypeDescription
totalinteger | null
total_countinteger | null
pageinteger | null
per_pageinteger | null
  • 400Bad request
  • 401Unauthorized
  • 403Forbidden
  • 404Not found
  • 422Validation error
  • 500Internal server error
  • 503Service unavailable

Error bodies: ErrorResponse. See Errors.