Skip to content

Service Example: Provides Entities, Types, EntityAttributes, and TypeAttributes

License

Notifications You must be signed in to change notification settings

eviratec/old-datastudio-entity-svc

Repository files navigation

Data Studio Entity Service

Dependency Status devDependency Status

This repository contains the source for the Data Studio Entity Service.

Routes

Method URI Operation ID
POST /U/{UserID}/Types createType
GET /U/{UserID}/Type/List getTypeList
GET /U/{UserID}/T/{ClassName} getTypeByClassName
POST /U/{UserID}/T/{ClassName}/Attributes createTypeAttribute
GET /U/{UserID}/T/{ClassName}/A/{AttributeKey} getTypeAttributeByAttributeKey
PUT /U/{UserID}/T/{ClassName}/A/{AttributeKey} updateTypeAttributeByAttributeKey
POST /U/{UserID}/T/{ClassName}/Entities createEntity
GET /U/{UserID}/T/{ClassName}/Entity/List getEntityList
GET /U/{UserID}/T/{ClassName}/E/{EntityID} getEntityByEntityID
DELETE /U/{UserID}/T/{ClassName}/E/{EntityID} deleteEntityByEntityID
GET /U/{UserID}/T/{ClassName}/E/{EntityID}/A/{AttributeKey} getEntityAttributeByAttributeKey
PUT /U/{UserID}/T/{ClassName}/E/{EntityID}/A/{AttributeKey} updateEntityAttributeByAttributeKey
DELETE /U/{UserID}/T/{ClassName}/E/{EntityID}/A/{AttributeKey} deleteEntityAttributeByAttributeKey

Getting started

  1. Clone this repository
$ git clone https://github.com/data-studio/entity-svc.git && cd entity-svc
  1. Install Vagrant by HashiCorp
  2. Start the Vagrant development VM
$ vagrant up
  1. Direct your browser to http://192.168.220.31/swagger.yml

License

Copyright (c) 2017 Callan Peter Milne

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.