Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confiforms REST API to upload a file

Ryan Kafoor
Contributor
May 8, 2024

Hi, 

 

I want to upload a file using an external service to a confiforms file field that I have. Afaik confiforms REST API 1 do not support file upload and REST API 0 do not offer authentication for external services (e.g. using PAT, which API 1 does).

What would be the best method to go about this? How does authentication work for API 0?  

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2024

Hi @Ryan Kafoor 

ConfiForms APIs use the same auth method as your Confluence. 

Version 1 also supports auth with PATs

In Version 1 we dont have a separate method to upload files but create/update API endpoints accept multipart form data which you can use to create entries with files

Alex

DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events