Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (49 sloc) 1.81 KB
#%RAML 1.0
title: Metadata Sources
version: v1
baseUri: http://localhost/mod-finc-config
documentation:
- title: mod-finc-config API
content: This documents the API calls that can be made to query and manage metadata sources
types:
fincConfigMetadataSource: !include schemas/fincConfigMetadataSource.json
fincConfigMetadataSources: !include schemas/fincConfigMetadataSources.json
errors: !include ./raml-util/schemas/errors.schema
traits:
orderable: !include ./raml-util/traits/orderable.raml
pageable: !include ./raml-util/traits/pageable.raml
searchable: !include ./raml-util/traits/searchable.raml
language: !include ./raml-util/traits/language.raml
validate: !include ./raml-util/traits/validation.raml
resourceTypes:
collection: !include ./raml-util/rtypes/collection.raml
collection-item: !include ./raml-util/rtypes/item-collection.raml
/finc-config/metadata-sources:
displayName: Metadata Sources
type:
collection:
exampleCollection: !include examples/fincConfigMetadataSource_collection.sample
exampleItem: !include examples/fincConfigMetadataSource.sample
schemaCollection: fincConfigMetadataSources
schemaItem: fincConfigMetadataSource
get:
is: [
searchable: {description: "", example: "active=true sortBy username"},
orderable: {fieldsList: "field A, field B"},
pageable
]
description: Get all metadata sources
post:
is: [validate]
description: Post new metadata source
/{id}:
type:
collection-item:
exampleItem: !include examples/fincConfigMetadataSource.sample
schema: fincConfigMetadataSource
get:
description: Get one metadatasource identified by id
delete:
description: Delete an metadata source identified by id
put:
description: Put an metadata source identified by id
You can’t perform that action at this time.