Skip to content

Service Catalog API

Alexandr Krylovskiy edited this page Aug 19, 2014 · 20 revisions

Overview

Service Catalog provides a REST(ish) API to publish and discover various services (e.g., Device Catalog, MQTT Broker).

Data Format

Each service is represented in the Service Catalog by a registration, which has the following format:

	{
	id: <string>  
	type: "Service",  
	name: <string>,
	description: <string>,
	meta: {},
	protocols: [
		{
			type: <string>,
			endpoint: {},
			methods: [],
			content-types: [ ]
		}
	],
	representation: { },
	ttl: <int>,
	created: <timestamp>,
	updated: <timestamp>,
	expires: <timestamp>
	}

REST API

Clone this wiki locally