Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blendb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C3SL
blendb
Commits
f099405b
Commit
f099405b
authored
8 years ago
by
Eduardo L. Buratti
Browse files
Options
Downloads
Patches
Plain Diff
Update API specs
parent
e459a94f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
specs/blendb-api-v1.raml
+7
-9
7 additions, 9 deletions
specs/blendb-api-v1.raml
with
7 additions
and
9 deletions
specs/blendb-api-v1.raml
+
7
−
9
View file @
f099405b
...
@@ -361,16 +361,14 @@ traits:
...
@@ -361,16 +361,14 @@ traits:
"message": "The specified metric 'met:electricCharge' could not be found."
"message": "The specified metric 'met:electricCharge' could not be found."
}
}
/collect/{
class
}:
/collect/{
sourceName
}:
description: |
description: |
This API may be used to send data to the monitoring system. There are a
This API may be used to send data to the monitoring system. All data
few available data types (like network bandwidth usage, machine
sent must be identified with a sourceName, i.e. "gesacNetworkBandwidth".
inventory, etc.) and each of them requires a specific format for the
data being sent.
type: base
type: base
uriParameters:
uriParameters:
class
:
sourceName
:
description:
The class of
data that is being collected.
description:
An identifying name for the
data that is being collected.
type: string
type: string
minLength: 4
minLength: 4
maxLength: 64
maxLength: 64
...
@@ -390,6 +388,6 @@ traits:
...
@@ -390,6 +388,6 @@ traits:
application/json:
application/json:
example: |
example: |
{
{
"id": "
invalid_attribute
",
"id": "
type_error
",
"message": "Invalid attribute \"memory\"
for data type \"network_bandwidth\"
."
"message": "Invalid
type for
attribute \"memory\"."
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment