kilink icon indicating copy to clipboard operation
kilink copied to clipboard

The "get linkode" via API should be able to just return the content

Open facundobatista opened this issue 5 years ago • 1 comments

Let's support an optional "raw=True" query parameter in the following endpoints:

/api/1/linkodes/<linkode_id>/<revno>
/api/1/linkodes/<linkode_id>

If raw is present as a query parameter, and set to True, the response will be just the bytes of the linkode, utf-8 encoded. This encoding and the linkode type should be explicited in the Content-Type header of the response.

facundobatista avatar Jan 31 '20 13:01 facundobatista

I'll take it, as we talked in the telegram group, to work on it along with someone else

ldelelis avatar Jan 31 '20 17:01 ldelelis