Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bash-rest-api-client
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
bash-rest-api-client
Commits
f1e3be5e
Commit
f1e3be5e
authored
9 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update docs
parent
8d9a2c9b
No related branches found
No related tags found
1 merge request
!4
long tocs are now scrollable
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/99_Functions/rest-api-client.sh.md
+39
-37
39 additions, 37 deletions
docs/99_Functions/rest-api-client.sh.md
with
39 additions
and
37 deletions
docs/99_Functions/rest-api-client.sh.md
+
39
−
37
View file @
f1e3be5e
...
...
@@ -4,7 +4,7 @@ List of all functions in alphabetic order
### http()
[
line: 9
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L9
4
)
[
line: 9
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L9
5
)
### http.addHeader()
...
...
@@ -16,7 +16,7 @@ Add a line to the request header
```
[
line: 68
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L68
0
)
[
line: 68
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L68
1
)
### http.dump()
...
...
@@ -28,7 +28,7 @@ no params
```
[
line: 57
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L57
5
)
[
line: 57
6
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L57
6
)
### http.flushCache()
...
...
@@ -40,7 +40,7 @@ no params
```
[
line: 84
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L84
0
)
[
line: 84
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L84
1
)
### http.getRequestAge()
...
...
@@ -55,7 +55,7 @@ returns integer age of the response in sec
```
[
line: 42
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L42
2
)
[
line: 42
3
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L42
3
)
### http.getRequestTs()
...
...
@@ -69,7 +69,7 @@ returns string the timestamp of the response
```
[
line: 40
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L40
8
)
[
line: 40
9
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L40
9
)
### http.getResponse()
...
...
@@ -83,7 +83,7 @@ returns string the response body
```
[
line: 44
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L44
1
)
[
line: 44
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L44
2
)
### http.getResponseData()
...
...
@@ -97,7 +97,7 @@ returns string the response data
```
[
line: 45
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L45
4
)
[
line: 45
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L45
5
)
### http.getResponseHeader()
...
...
@@ -111,7 +111,7 @@ returns string the response header
```
[
line: 46
7
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L46
7
)
[
line: 46
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L46
8
)
### http.getResponseRaw()
...
...
@@ -125,7 +125,7 @@ no param
```
[
line: 48
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L48
0
)
[
line: 48
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L48
1
)
### http.getStatus()
...
...
@@ -137,7 +137,7 @@ no params
```
[
line: 49
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L49
1
)
[
line: 49
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L49
2
)
### http.getStatuscode()
...
...
@@ -149,7 +149,7 @@ no params
```
[
line: 50
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L50
4
)
[
line: 50
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L50
5
)
### http.help()
...
...
@@ -161,7 +161,7 @@ no params
```
[
line: 85
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L85
1
)
[
line: 85
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L85
2
)
### http.init()
...
...
@@ -174,7 +174,7 @@ function. It will reset all variables.
```
[
line: 11
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L11
5
)
[
line: 11
6
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L11
6
)
### http.isClientError()
...
...
@@ -186,7 +186,7 @@ no params
```
[
line: 55
3
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L55
3
)
[
line: 55
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L55
4
)
### http.isError()
...
...
@@ -198,7 +198,7 @@ no params
```
[
line: 54
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L54
2
)
[
line: 54
3
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L54
3
)
### http.isOk()
...
...
@@ -215,7 +215,7 @@ no params
```
[
line: 52
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L52
0
)
[
line: 52
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L52
1
)
### http.isRedirect()
...
...
@@ -227,7 +227,7 @@ no params
```
[
line: 53
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L53
1
)
[
line: 53
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L53
2
)
### http.isServerError()
...
...
@@ -239,7 +239,7 @@ no params
```
[
line: 56
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L56
4
)
[
line: 56
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L56
5
)
### http.loadcfg()
...
...
@@ -265,7 +265,7 @@ The function will then set the "internal" vars
```
[
line: 28
3
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L28
3
)
[
line: 28
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L28
4
)
### http.makeRequest()
...
...
@@ -287,7 +287,7 @@ This function does the following:
```
[
line: 16
7
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L16
7
)
[
line: 16
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L16
8
)
### http.quit()
...
...
@@ -309,7 +309,7 @@ no params
```
[
line: 25
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L25
0
)
[
line: 25
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L25
1
)
### http.responseDelete()
...
...
@@ -322,7 +322,7 @@ AUTOFILE functionality
```
[
line: 65
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L65
1
)
[
line: 65
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L65
2
)
### http.responseExport()
...
...
@@ -334,7 +334,7 @@ Export response to a file
```
[
line: 60
9
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L60
9
)
[
line: 6
1
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L6
1
0
)
### http.responseImport()
...
...
@@ -346,7 +346,7 @@ Import a former response from a file
```
[
line: 62
7
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L62
7
)
[
line: 62
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L62
8
)
### http.setAccept()
...
...
@@ -358,7 +358,7 @@ set Accept request header and override default
```
[
line: 69
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L69
1
)
[
line: 69
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L69
2
)
### http.setAuth()
...
...
@@ -371,7 +371,7 @@ Without given parameter, authentication is removed
```
[
line: 70
7
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L70
7
)
[
line: 70
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L70
8
)
### http.setAuthorization()
...
...
@@ -385,7 +385,7 @@ Without given parameter, authorization is removed
```
[
line: 72
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L72
4
)
[
line: 72
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L72
5
)
### http.setBaseUrl()
...
...
@@ -398,7 +398,7 @@ Remark: Then use http.setUrl to complet the url to request
```
[
line: 75
1
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L75
1
)
[
line: 75
2
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L75
2
)
### http.setBody()
...
...
@@ -410,7 +410,7 @@ Set body to send for PUTs and POSTs
```
[
line: 7
39
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L7
39
)
[
line: 7
40
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L7
40
)
### http.setCacheFile()
...
...
@@ -422,7 +422,7 @@ Set cache file
```
[
line: 8
29
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L8
29
)
[
line: 8
30
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L8
30
)
### http.setCacheTtl()
...
...
@@ -434,7 +434,7 @@ Set cache ttl in seconds
```
[
line: 81
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L81
8
)
[
line: 81
9
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L81
9
)
### http.setDebug()
...
...
@@ -446,11 +446,11 @@ Enable or disable debug mode
```
[
line: 76
3
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L76
3
)
[
line: 76
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L76
4
)
### http.setDocs()
[
line: 76
7
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L76
7
)
[
line: 76
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L76
8
)
### http.setFullUrl()
...
...
@@ -462,7 +462,7 @@ Set a full url to request
```
[
line: 7
8
9
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L7
8
9
)
[
line: 79
0
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L79
0
)
### http.setMethod()
...
...
@@ -474,7 +474,7 @@ Set the method to use; GET|POST|PUT|DELETE|...
```
[
line: 77
8
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L77
8
)
[
line: 77
9
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L77
9
)
### http.setUrl()
...
...
@@ -486,5 +486,7 @@ Complete the base url
```
[
line: 80
4
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L80
4
)
[
line: 80
5
](
https://git-repo.iml.unibe.ch/iml-open-source/bash-rest-api-client/-/blob/master/rest-api-client.sh#L80
5
)
- - -
Generated with
[
Bashdoc
](
https://github.com/axelhahn/bashdoc
)
v0.6
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