![]() ![]() Most of the time, you'll want to just set file_service_key, but this can get complex: Arguments: When you are searching, you may want to specify a particular file domain. ![]() In GET requests, make sure any list is percent-encoded. hashes: (selective, a list of hexadecimal SHA256 hashes).hash: (selective, a hexadecimal SHA256 hash).file_ids: (selective, a list of numerical file ids).file_id: (selective, a numerical file id).If you need to refer to some files, you can use any of the following: Arguments: ![]() Otherwise, be careful about transmitting sensitive content outside of your localhost/network. If you have your own domain to host from and an SSL cert, you can replace them and it'll use them instead (check the db directory for client.crt and client.key). HTTPS is available for encrypted comms, but the default certificate is self-signed (which basically means an eavesdropper can't see through it, but your ISP/government could if they decided to target you). Setting up the Client API to be accessible across the internet requires technical experience to be convenient. An invalid/expired session key will give a 419 result with an appropriate error text.īear in mind the Client API is still under construction. Session keys will expire if they are not used within 24 hours, or if the client is restarted, or if the underlying access key is deleted. You can fetch a session key with the /session_key command and thereafter use it just as you would an access key, just with Hydrus-Client-API-Session-Key instead. There is also a simple 'session' system, where you can get a temporary key that gives the same access without having to include the permanent access key in every request. POST /manage_file_relationships/set_kings POST /manage_file_relationships/set_file_relationships GET /manage_file_relationships/get_random_potentials GET /manage_file_relationships/get_potential_pairs GET /manage_file_relationships/get_potentials_count GET /manage_file_relationships/get_file_relationships ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |