OpenVeo server API for plugins

API Docs for: 3.0.0
Show:

ContentController

Summary

Provides route actions for all requests relative to content entities.

Constructor

ContentController

Syntax

ContentController

(
  • Entity
)

Summary

Parameters:

  • Entity Function

    An entity function extending EntityModel

Methods

addEntityAction

Syntax

addEntityAction

()

Summary

Adds an entity. Also expects entity data in body.

Example:

{
  "entity" : { ... }
}

getEntitiesAction

Syntax

getEntitiesAction

()

Summary

Gets a list of entities.

Example:

{
  "entities" : [ ... ]
}

getEntityAction

Syntax

getEntityAction

()

Summary

Gets a specific entity. Expects the following url parameters : - **id** The id of the entity to retrieve

Example:

{
  "entity" : { ... }
}

removeEntityAction

Syntax

removeEntityAction

()

Summary

Removes an entity. Expects the following url parameters : - **id** The id of the entity to remove

updateEntityAction

Syntax

updateEntityAction

()

Summary

Updates an entity. Expects the following url parameters : - **id** The id of the entity to update Also expects data in body.