This release of RCS publishes endpoints at /v1 and /v0.9. The endpoints at /v1 are compatible with registration requests for schemas 1.0 and 1.1 and document requests for RAMP schema 1.0 .
The current JSON schema is used to validate registration requests is at:
An older schema for RAMP versions prior to schema 1.0 is documented at:
Success Code: 200
Request Body: Empty
Response Body: JSON Object
The response will have a JSON configuration fragment to be merged into the RAMP configuration. It will be compatible with RAMP schema 1.0, although as it is a fragment it will not validate against the schema without additional configuration being supplied.
Error conditions:
Success Code: 200
Request Body: Empty
Response Body: JSON Array
The response will be an array of JSON objects, each object will be a JSON configuration fragment to be merged into the RAMP config. It will be compatible with RAMP schema 1.0, although as it is a fragment it will not validate against the schema without additional configuration being supplied.
Error conditions:
Success Code: 201
Request Body: JSON Object
Request Headers: Implement the Request Signing protocol
Response Body: Empty
Error Conditions:
Registration requests are validated against The body of the request should conform to:
{"version":"1.1.0","payload_type":("feature","wms"),"en":(payload),"fr":(payload) }
The feature payload should conform to:
{
"service_url": (str: URL to ESRI REST Feature Layer Endpoint),
"service_name": (str: Layer Name),
"display_field": (str: Layer Attribute),
"metadata": {
"uuid": (str: a unique identifier),
"catalogue_url": (str: URL describing the layer in full detail)
"metadata_url": (str: direct URL to metadata for that layer)
}
}
The wms payload should conform to:
{
"service_url": (str: URL to WMS Service),
"layer": (str: Layer Identifier),
"legend_format": (str: MIME type)",
"feature_info_type": (str: MIME type),
"metadata": {
"uuid": (str: a unique identifier),
"catalogue_url": (str: URL describing the layer in full detail)
"metadata_url": (str: direct URL to metadata for that layer)
}
}
Success Code: 204
Request Body: Empty
Request Headers: Implement the Request Signing protocol
Response Body: Empty
Error Conditions:
added in RCS 1.8.0
Success Code: 200
Request Body: Empty
Request Headers: Implement the Request Signing protocol
Request Params: age should be either “all” or a positive integer indicating the minimum age in days that a record should be before it is updated
Response Body: { "success": ["smallkey", …], "errors": {"smallkey": "message", …} }
Error conditions:
added in RCS 1.9.0
Success Code: 200
Request Body: JSON Object
Request Headers: Implement the Request Signing protocol
The body of the request should conform to:
{"user":"<user name>","factor":<simplification factor> }
Response Body: { "success": ["smallkey", …], "errors": {"smallkey": "message", …} }
Error conditions: