Skip to content

Nix Search API needs documentation #296

@nova-nowiz

Description

@nova-nowiz

Hi!

I would like to make an android companion app for NixOS and would like more info on the API.
I could just use what I got from the reverse-engineering I did by now but I thought it was most appropriate to contact the devs about the possible usage of this very useful API outside its current realm.
The main problem right now on my [art is the fact that there are no documentation on the API.

What I know right now:
API url: https://nixos-search-5886075189.us-east-1.bonsaisearch.net:443
Username: z3ZFJ6y2mR
password: ds8CEvALPf9pui7XG (this is shown in the src/index.js file in case it was not intentional)
username:password is encoded in Base64 thus giving: ejNaRko2eTJtUjpkczhDRXZBTFBmOXB1aTdYRw== for the authentication bearer token
The CORS policy seems to be * but I might be wrong on that.
And I know the overall shape of a request and of a response thanks to Firefox network console.

What I want to know is if there are resources I could use to make my life easier like a postman playground, documentation, some insight on the API, the gotchas of the API or anything you know on it really ^^

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions