Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scs-api-public
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
SCS
scs-api-public
Commits
30a5a999
Commit
30a5a999
authored
4 years ago
by
scs-ror
Browse files
Options
Downloads
Patches
Plain Diff
Version Mon 22 Mar 2021 04:56:02 PM UTC
parent
da40c1f0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scs_api.server_public.md
+15
-16
15 additions, 16 deletions
scs_api.server_public.md
with
15 additions
and
16 deletions
scs_api.server_public.md
+
15
−
16
View file @
30a5a999
...
...
@@ -15,11 +15,11 @@ is 6 requests per minute. Exceeding the limit will lead to your IP
address being temporarily blocked from making further requests. The
block will automatically be lifted by waiting an hour.
-
api revision:
`
27f594
e3 / 2021-03-
17 10:54:56
+0100`
-
api revision:
`
5a830
e3
f
/ 2021-03-
22 17:37:01
+0100`
-
api version:
`0.9-27
0
-g
27f594e
`
-
api version:
`0.9-27
1
-g
5a830e3
`
-
apidoc building date:
`2021-03-
17 09
:5
6
:3
7
+0000`
-
apidoc building date:
`2021-03-
22 16
:5
5
:3
0
+0000`
Summary
-------------------------------------------------------------------------------------
...
...
@@ -202,25 +202,23 @@ Request JSON Object
-
**it4ifreetoken**
(
*string*
) – token
-
**cluster**
(
*string*
) – cluster id or ‘all’
Response JSON Object
-
**
cluster
**
(
*string*
) –
cluster id or ‘all’
-
**
type
**
(
*string*
) –
type of quota
-
**
fs
**
(
*string*
) –
filesy
ste
m
name
-
**
cluster\_or\_pid
**
(
*string*
) –
clu
ste
r
name
of project identifier
-
**
hard\_quota\_file
s**
(
*in
t
*
) – file
number quota
-
**
f
s**
(
*
str
in
g
*
) – file
system name
-
**
hard\_quota
\_space**
(
*int*
) – space
quota
(in K
b
)
-
**
usage
\_space**
(
*int*
) –
amount of
space
used
(in K
B
)
-
**
ldapuser
**
(
*
str
in
g
*
) –
user id
-
**
usage\_files
**
(
*in
t
*
) –
number of files on filesystem
-
**
updated\_at
**
(
*
str
in
g
*
) –
date of last update
-
**
hard\_quota\_space
**
(
*in
t
*
) –
space quota (in KB)
-
**
usage
\_files**
(
*int*
) – number
of files on filesystem
-
**
hard\_quota
\_files**
(
*int*
) –
file
number
quota
-
**u
sage\_space
**
(
*in
t
*
) –
amount of space used
-
**u
pdated\_at
**
(
*
str
in
g
*
) –
date of last update
Status Codes
...
...
@@ -233,7 +231,7 @@ Status Codes
**Example request**
:
curl -i -H "Content-Type:application/json" -X POST \
--data '{"login":"johnsm", "it4ifreetoken": "abc"
,"cluster":"all"
}' \
--data '{"login":"johnsm", "it4ifreetoken": "abc"}' \
https://scs.it4i.cz/api/v1/fs-usage
**Example response**
:
...
...
@@ -243,11 +241,12 @@ Status Codes
[
{
"cluster": "anselm",
"login": "johnsm",
"type": "User Quota",
"cluster_or_pid": "salomon"
"fs": "/home",
"hard_quota_files": 500000,
"hard_quota_space": 250000000,
"ldapuser": "johnsm",
"updated_at": "2019-03-11 13:25:16",
"usage_files": 19,
"usage_space": 2620
...
...
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