What output does f-droid server provide


#1

Hey,

I would like to now what type of output f-droid server provides.
I’ve read somewhere that they also send json but I can’t find it anymore.
Also I would like to know if it is possible to format the output, add your own fields etc.
Is this possible and if so, where can I change this?

Kind regards,

JKorsten


#2

Been here already: https://f-droid.org/docs/ ?


#3

Hey,
Yes, I’ve been there, but it wasn’t very clear to me where to find the information I needed.
But I’ve found it eventually.


#4

And it’s a secret? ?


#5

Off course :wink:

No, I found it by debugging the client app which receives the data in json format.
Also this post might be the one I needed, but I’m still not sure if the metadata files determine what I receive:
https://f-droid.org/en/docs/Build_Metadata_Reference/


#6

I’m still not sure if the metadata files determine what I receive

No and yes.

Metadata determines how apps are build, nothing more.


#7

Can you tell me how I can make sure the server will send the data in json format?


#8

The index-v1.jar file is a signed JAR file containing only index-v1.json. That’s the JSON index. E.g. https://f-droid.org/repo/index-v1.jar