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

Confiforms REST API to upload a file

Ryan Kafoor 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_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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