same error
Like very one else here - I have not been able to login to the API. Using a personal access token ( generated in the UI). yes I have set the Bearer Token with the Token that I generated. I get re direct from cloudflare
{“code”:null,“message”:“Unauthorized”,“redirect”:"/api/oauth/authorize?state=0dfd66e3-b4e9-4278-8798-8bb31"}
I’ve tried to allow curl to follow redirects to no avail.
Is there anyone that can post an up to date bash script / curl command that can login?
Thanks,
M
Is it possible to shutdown the worker via API?
Hey I fix this problem, adding my public IP to whitelist into Sign in to Hiveon ID
After this I can use the api, try to use in a server with a public ip, for avoid change continously this configuration
Has v1 API been removed? Sends to 404 page now
How can I send “sreboot wakealarm” command via api?
How can I send “reboot” command via api?
command “logs” work -X POST -d “{“command”: “miner”, “data”: {“action”: “log”}}”
command “reboot” not work -X POST -d “{“command”: “system”, “data”: {“action”: “reboot”}}”
Find the sulution. Now works
-X POST -d “{“command”: “reboot”}”
Next question…
How ca i change with API option in “hashrate watchdog monitoring” function “miner minimal HashRate”?
Hey,
So I’ve read thru the forum and haven’t found a decent answer to this, here my issue:
I have a python script I’m trying to use to turn off the miner via Hive API.
Here’s the main part of my code:
url = f’{base_url}/worker/{worker_id}/command’ ## I have tried /farms/{worker_id}
data = {
“worker_ids”: [
worker_id
],
“search_id”: None,
“data”: {
“command”: “miner”,
“data”: {
“action”:“stop”
}
}
}
headers = {
‘Content-Type’: ‘application/json’,
‘accept’: ‘application/json’,
‘Authorization’: f’Bearer {api_key}’
}
When I run it I get this:
“message”: “Not Found”,
“code”: 404
I know that the API has this functionality since its in the documentation.
So what am I doing wrong?
How i can aply flight sheet?
I try this:
curl -X 'PATCH' 'https://api2.hiveos.farm/api/v2/farms/123456/workers/9876543/' -H 'Content-Type: application/json' -H 'Authorization: Bearer eyAPIKEYYYYYYYY' -d '{"fs_id":17268835}'
but it not work
Im trying request your api from an AWS Ec2 instance and all the curls response are 403. Any Solution?
Ask support on Hiveon web site. Possible your IP banned
they said “we don’t provide support for the api, only the documentation” Lol, hive support are the most useless group ever, as you can se millions of topics never solved here…
Where can i get a valid login credentials for the use of the api?
Is this api working? i cant login to get a token always 403 forbidden ?
API working because works on the same APIs
Do you have paid account because since March 11 Hive API didn’t work in Free tier level (2 or less workers)?
Yes i have a free account, that must be it, I didn’t know I could not use a free account to access the API. why ?
Quote from http://hiveon.com/knowledge-base/faq/billing_in_hiveon_os/billing/:
- API Access will now be limited to paid farms only.
These updates are designed with your needs in mind, aiming to provide a fair and transparent pricing structure while ensuring access to the resources you require for successful mining operations.
你是什么代码 呢 ? python ? java ? 还是C ++