Upload a file to a group
POST
/api/v4/groups/{id}/uploads
Uploads a file to the specified group. Returns a markdown-formatted link to the file.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typemultipart/form-data
object
file
required
The file to upload
string format: binary
Responses
Section titled “Responses”Created
Media typeapplication/json
object
id
The ID of the file
integer format: int64
alt
The name of the file
string
url
The URL to access the file
string
full_path
The full path to the file
string
markdown
A markdown-formatted link to the file.
string
Examplegenerated
{ "id": 1, "alt": "example", "url": "example", "full_path": "example", "markdown": "example"}Bad request
Not found