We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28239b1 commit 267d24dCopy full SHA for 267d24d
Documentation/REST API.md
@@ -2,7 +2,7 @@
2
3
* [Initialization](#initialization)
4
* [Get list of files](#get-list-of-files-api-reference)
5
-
+* [File Info](#file-info-api-reference)
6
7
### Initialization
8
@@ -59,7 +59,17 @@ filesList.previousPage { (list, error) in
59
}
60
```
61
62
+### File Info ([API Reference](https://uploadcare.com/api-refs/rest-api/v0.6.0/#operation/fileInfo?utm_source=github&utm_medium=referral&utm_campaign=uploadcare-swift)) ###
63
64
+```swift
65
+uploadcare.fileInfo(withUUID: "1bac376c-aa7e-4356-861b-dd2657b5bfd2") { (file, error) in
66
+ if let error = error {
67
+ print(error)
68
+ return
69
+ }
70
+ print(file ?? "")
71
+}
72
+```
73
74
75
0 commit comments