Deliverable for D3.2

README.md 1.9KB

Go API client for swagger

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version:
  • Package version: 1.0.0
  • Build date: 2017-08-14T09:58:05.106+01:00
  • Build package: class io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
MetadataApi AllItems Get /catalog/items/ get all cataloged items
MetadataApi CatalogItem Put /catalog/items/{location-uid} catalog an item for discovery e.g. what and where
MetadataApi MoveLocation Patch /catalog/announce/{location-uid} change a node's location - keeping the same location-uid
MetadataApi RegisterLocation Put /catalog/announce register a node's location
MetadataApi RemoveFromCatalog Delete /catalog/items/{catalog-uid} delete an item from the catalog

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author