Adriano Faria Posted August 15, 2023 Posted August 15, 2023 Hello, Is there any way to use extra fields in the Rest API in Downloads? I want to add a file via API and I would like also to add extra fields in the file. This is not a development question. Thanks.
Solution Marc Posted August 15, 2023 Solution Posted August 15, 2023 These is currently no way to post an extra fields object when posting files on the REST API. You can only retrieve them at present. https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/POSTindex I have however moved this to our developer forums, as it is indeed a question for developers. I understand you are asking if the functionality is available, however our APIs by definition are programming interfaces. Adriano Faria 1
Interferon Posted October 10 Posted October 10 (edited) On 8/15/2023 at 12:07 AM, Marc said: You can only retrieve them at present. How? I do not see anything in the documentation about retrieving information from extra fields: https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/GETitem I want to use this to display the license an item is released under in our application. Edited October 10 by Interferon
Marc Posted October 11 Posted October 11 Have a read of that page again. They are returned as an object named fieldgroup
Interferon Posted October 11 Posted October 11 (edited) 7 hours ago, Marc said: Have a read of that page again. They are returned as an object named fieldgroup The only mention I can find in that page of fieldgroups is referring to user profile fields. The original question is about extra fields for Downloads files. Edited October 11 by Interferon
Marc Posted October 11 Posted October 11 Ah, you are indeed correct. Ive just taken a look and cant see you can get those at present. However I have tagged developers on this, to see if its possible to get elsewhere Interferon 1
Recommended Posts