wallvon / mofh-api-docs Goto Github PK
View Code? Open in Web Editor NEWAPI Documentation for https://myownfreehost.net
Home Page: https://api.myownfreehost.net
License: MIT License
API Documentation for https://myownfreehost.net
Home Page: https://api.myownfreehost.net
License: MIT License
robe.rt
or by emailing me hereCurrently, there is a section with "account suspension" in the ticket system section of the callbacks page:
This seems to have happened in the callback update, #22, and I don't know what it is supposed to say there. Does anyone have an idea?
CC: @greenreader9
Hello. I was trying to set the API with WHMCS. When I click the "Refresh" button of the MOFH server on the "Servers" page, the WHMCS returned this error tip:
Error
Not Found
The requested URL /json-api/batch.php was not found on this server.
So I dived into the API Documents and see if I missed something. Then I was confused with the Callback URL. How can I find it? Should I create a callback file and put them into my WHMCS folder first? Also, what is the absolute path of "/json-api/batch.php"? Should it be the "http://panel.myownfreehost.net/" or my WHMCS domain?
Thank you.
When reading the documentation, I noticed there's no mention of API callbacks.
Would be nice if the API callbacks are documented here as well.
See title. This would, for example, add a link to the ticket response callback page on the create ticket page.
Redo the docs with Docusaurus, it looks nicer in my opinion. I was already done with this, and I added git and set the origin to this repository, but then I accidentally reset my local environment which removed all Docusaurus files and replaced them with the files from this repo.
This is because binary files are being incorrectly handled, see anorcle/next-pages#4
However, I did try this fork but that did not seem to help. I will look into this later.
This endpoint allows you to add a domain using CNAME validation instead of DNS validation. It uses a POST request, which is confusing because it's called getcname but whatever.
Right now it is not possible to create an account with an domain that has been verified by CNAME via the API! Its only possible to manually add that in vPanel.
- BastelPichi
api_user
api_key
username
domain_name
https://panel.myownfreehost.net/xml-api/getcname.php
73081144a0525fde6ba1b0510684efcf
https://panel.myownfreehost.net/json-api/getcname.php
73081144a0525fde6ba1b0510684efcf
Thanks to @BastelPichi for bringing up the missing endpoint.
According to cPanel's documentation, the listpkgs endpoint does the following: "This function lists the authenticated user's available hosting plans (packages)."
https://panel.myownfreehost.net/xml-api/listpkgs.php
TODO. However, according to people in the iFastNet Community Discord server, the XML API endpoint is broken.
https://panel.myownfreehost.net/json-api/listpkgs.php
{"package":[{"FRONTPAGE":"n","CPMOD":"x3","FEATURELIST":"default","BWLIMIT":9223372036854775807,"IP":"n","CGI":"n","MAXSUB":9999,"name":"Default","MAXSQL":999,"MAXFTP":"1","QUOTA":9223372036854775807,"MAXPARK":9999,"HASSHELL":"N","MAXADDON":9999,"MAXPOP":"10","MAXLIST":"0","LANG":"english"}]}
{"package":[{"FRONTPAGE":"n","CPMOD":"x3","FEATURELIST":"default","BWLIMIT":9223372036854775807,"IP":"n","CGI":"n","MAXSUB":9999,"name":"Default","MAXSQL":999,"MAXFTP":"1","QUOTA":9223372036854775807,"MAXPARK":9999,"HASSHELL":"N","MAXADDON":9999,"MAXPOP":"10","MAXLIST":"0","LANG":"english"},{"FRONTPAGE":"n","CPMOD":"x3","FEATURELIST":"default","BWLIMIT":"9223372036854775807","IP":"n","CGI":"n","MAXSUB":"9999","name":"Test","MAXSQL":"999","MAXFTP":"1","QUOTA":"9223372036854775807","MAXPARK":"9999","HASSHELL":"n","MAXADDON":"9999","MAXPOP":"10","MAXLIST":"0","LANG":"english"},{"FRONTPAGE":"n","CPMOD":"x3","FEATURELIST":"default","BWLIMIT":"9223372036854775807","IP":"n","CGI":"n","MAXSUB":"9999","name":"lve0A9SRQo1Cr7HwuqH96DngzvLxn36TYrPB9MpBiuZWE0wtplpv2ecb6lRjRWfvS2iqRMArzWMlh7czbO6YPyJucyxjSEYHC7ZPvn08hsY3ZiE1RSDvxXER1NTprFoAbgT6ZHGvqZYFFvudliUhHp4f3iZGqef6tWVNRhB2D04AwtrDP2zeocoIduHOIuPabEV332vaAdz5Guo4eSAfTlnPBlunXgIkz9XAQK7SLXE0Qrsj2sH5rJOQe8MY3MX_Test","MAXSQL":"999","MAXFTP":"1","QUOTA":"9223372036854775807","MAXPARK":"9999","HASSHELL":"n","MAXADDON":"9999","MAXPOP":"10","MAXLIST":"0","LANG":"english"}]}
Thanks to @4yx for providing the JSON API responses and for bringing up the missing endpoint.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.