file.adoc 1.12 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
= Rest API Documentation - Files
Piotr Gawron
v{project-version} {build-time}
:toc: left
:sectnums:

== Create new file in the system
=== CURL sample
include::{snippets}/file/create_file/curl-request.adoc[]

=== Request Parameters
include::{snippets}/file/create_file/request-parameters.adoc[]

=== Response Fields
include::{snippets}/file/create_file/response-fields.adoc[]

=== Sample Response
include::{snippets}/file/create_file/response-body.adoc[]


== Upload content of the file
=== CURL sample
include::{snippets}/file/upload_content/curl-request.adoc[]

=== Request Parameters
include::{snippets}/file/upload_content/request-parameters.adoc[]

=== Response Fields
include::{snippets}/file/upload_content/response-fields.adoc[]

=== Sample Response
include::{snippets}/file/upload_content/response-body.adoc[]


== Get info about file
=== CURL sample
include::{snippets}/file/get_file/curl-request.adoc[]

=== Path Parameters
include::{snippets}/file/get_file/path-parameters.adoc[]

=== Response Fields
include::{snippets}/file/get_file/response-fields.adoc[]

=== Sample Response
include::{snippets}/file/get_file/response-body.adoc[]