Permanent Raw File URL for Private Repository

I’m having some issues with RAW URL specifically the token changing every time the file changes.

I’m currently working on a DFlag system which requires the URL to be static.

Is it possible to do this without having a Public repository?

What I need is the latest RAW file with a static URL

Only if you can authenticate the request. If you have a valid token (PAT, OAuth, …) you can add an authorization HTTP header like this, instead of the token in the URL:

Authorization: token YOUR_TOKEN_HERE

That way you can use a fixed URL (just remove the token query parameter), but of course you should only do this if you can safely store the token on the client side. :wink: