Skip to main content

ADMIN API Reference

Module Information

Service Files:

  • Private: service/private/admin.js

Available Services: 2 Documented Services: 2


admin.show_watermark

Get watermark timestamps for hub and drumate entity pools from the yellow-page database

PropertyValue
Scopeplateform
Permissionunknown

Endpoint:

https://hostname/-/svc/admin.show_watermark

Parameters

No parameters

Returns

FieldTypeDescription
hubobjectWatermark record for hub entities returned by the watermark stored procedure
drumateobjectWatermark record for drumate entities returned by the watermark stored procedure
ctimeobjectMost recent creation timestamps for each entity type
ctime.hubstringLatest ctime for hub-type entities in the pool area
ctime.drumatestringLatest ctime for drumate-type entities in the pool area

Possible Errors

Error CodeHTTP StatusDescription
DENIED403Caller does not have the required platform remit

admin.yp_test

Execute an arbitrary yellow-page stored procedure by name with a dynamic argument list. Intended for administrative testing and diagnostics only.

PropertyValue
Scopeplateform
Permissionunknown

Endpoint:

https://hostname/-/svc/admin.yp_test

Parameters

ParameterTypeRequiredDefaultDescription
namestringYes-Name of the stored procedure to call on the yellow-page database
valuesarray<string>Yes-Ordered list of arguments to spread into the stored procedure call

Returns

FieldTypeDescription
dataobjectRaw result returned by the named stored procedure

Possible Errors

Error CodeHTTP StatusDescription
DENIED403Caller does not have the required platform remit

  • ACL System - Permission model
  • Service Routing - URL patterns
  • Error Handling - Error codes