{"id":27182783,"url":"https://github.com/toptalent-23/cpanel-php-server","last_synced_at":"2025-10-04T02:47:16.209Z","repository":{"id":286892028,"uuid":"962896654","full_name":"TopTalent-23/cPanel-PHP-server","owner":"TopTalent-23","description":"cPanel-PHP-server is a Backend-as-a-Service(BaaS) designed for those who don't want to pay for 3rd party servers and want to host on their cPanel or any Apache server.","archived":false,"fork":false,"pushed_at":"2025-04-08T21:03:29.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T15:16:57.224Z","etag":null,"topics":["cpanel","php","server"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TopTalent-23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-08T20:59:05.000Z","updated_at":"2025-04-08T21:04:19.000Z","dependencies_parsed_at":"2025-04-08T22:20:14.227Z","dependency_job_id":null,"html_url":"https://github.com/TopTalent-23/cPanel-PHP-server","commit_stats":null,"previous_names":["toptalent-23/cpanel-php-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTalent-23%2FcPanel-PHP-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTalent-23%2FcPanel-PHP-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTalent-23%2FcPanel-PHP-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TopTalent-23%2FcPanel-PHP-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TopTalent-23","download_url":"https://codeload.github.com/TopTalent-23/cPanel-PHP-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055269,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpanel","php","server"],"created_at":"2025-04-09T15:17:01.063Z","updated_at":"2025-10-04T02:47:11.169Z","avatar_url":"https://github.com/TopTalent-23.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cPanel-PHP-server\n\ncPanel-PHP-server is a Backend-as-a-Service(BaaS) designed for those who don't want to pay for 3rd party servers and want to host on their cPanel or any Apache server. The purpose of developing this to speed up my development for mobile apps / angular apps for storing data to the database. Consider this a simple and lite version of firebase or parse server.\n\n# Features!\n\n  - Manage Applications.\n  - Domain \u0026 IP whitelisting for application api requests.\n  - Stats for application api requests usages.\n  - table-based data storage using MySQL.\n  - OData Syntax for $select, $orderby, $filter, $skip, $top ($filter do not support functions such as contains or startWith. to use the contains use * e.g. $filter=col * mytext)\n\n### Tech\n\ncPanel-PHP-server uses minimum PHP 7.3 \u0026 MySql.\n\n### Installation\n\ncPanel-PHP-server designed to use with ease no complicated installation is required. Just copy all the files and folder to your htdocs/public folder and copy the .htaccess file on your site root folder and then create an empty MySQL database and create a user with all the permission for the database.\n\nAfter that, open the config.php and change the MySQL database details and that's it!\n\n## API Usages\n\n\u003ch1 id=\"cPanel-PHP-server\"\u003ecPanel-PHP-server v1.0.0\u003c/h1\u003e\n\n\u003e Scroll down for code samples, example requests and responses.\n\nBase URLs:\n\n* \u003ca href=\"http://your-domain.com/api\"\u003ehttp://your-domain.com/api\u003c/a\u003e\n* \u003ca href=\"https://your-domain.com/api\"\u003ehttps://your-domain.com/api\u003c/a\u003e\n\n\u003ch1 id=\"g-app-keygen\"\u003eGenerate Key for Admin API calls\u003c/h1\u003e\n\n\u003e Enter the url in your browser \u003ca href=\"http|s://your-domain.com/keys/gen\"\u003ehttp|s://your-domain.com/keys/gen\u003c/a\u003e This will generate the unique key for your server only to manage the admin-related calls.\n\n\u003ch1 id=\"cPanel-PHP-server-apps\"\u003eApps\u003c/h1\u003e\n\nAPIs for managing the apps\n\n## Get All Applications\n\n\u003ca id=\"opIdGetAllApplications\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X GET http://your-domain.com/api/admin \\\n  -H 'Accept: application/json' \\\n  -H 'x-api-key: string'\n\n```\n\n `GET /admin`\n*Get All Applications*\n\n\u003ch3 id=\"getallapplications-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|x-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003e 200 Response\n\n``` json\n[\n  {\n  \"id\": \"1\",\n  \"name\": \"My First BaaS app\",\n  \"description\": \"this is a test\",\n  \"app_key\": \"b33428f9-aa0d-456d-a87d-fa37c7e1b1f8\",\n  \"app_api_slug\": \"baas-app\",\n  \"cors\": [\n    {\n      \"id\": \"1\",\n      \"application_id\": \"1\",\n      \"domain\": \"your-whitelisted-domain.com\",\n      \"ip_address\": \"\"\n    },\n    {\n      \"id\": \"2\",\n      \"application_id\": \"1\",\n      \"domain\": \"my-domain.com\",\n      \"ip_address\": \"\"\n    },\n    {\n      \"id\": \"3\",\n      \"application_id\": \"1\",\n      \"domain\": \"\",\n      \"ip_address\": \"192.168.0.1\"\n    }\n  ]\n }\n]\n```\n\n\u003ch3 id=\"getallapplications-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Returns the JSON array with a collection of registered applications in the system|None|\n\n## Update an existing application\n\n\u003ca id=\"opIdUpdateApplication\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X PUT http://your-domain.com/api/admin?id=1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'x-api-key: string'\n\n```\n\n `PUT /admin`\n*Update Application*\n\n\u003e Body parameter - NOTE: you don't need to pass the the whole object except those properties you want to update.\n\n``` json\n{\n  \"description\": \"this is a test\",\n  \"cors\": [\n    {\n      \"domain\": \"domain1.com\",\n      \"updateWith\": \"domain4.com\"\n    },\n    {\n      \"ip_address\": \"127.0.0.1\",\n      \"updateWith\": \"192.168.0.1\"\n    }\n  ]\n}\n```\n\n\u003ch3 id=\"updateapplication-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|id|query|integer(int32)|true|none|\n|Accept|header|string|true|none|\n|x-api-key|header|string|true|none|\n|body|body|[UpdateApplicationRequest](#schemaupdateapplicationrequest)|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"updateapplication-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n``` json\n{\n    \"message\": \"Application updated\"\n}\n```\n\n## Create Application\n\n\u003ca id=\"opIdCreateApplication\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X POST http://your-domain.com/api/admin \\\n  -H 'Content-Type: application/json' \\\n  -H 'Accept: application/json' \\\n  -H 'x-api-key: string'\n\n```\n\n `POST /admin`\n*Create Application*\n\n\u003e Body parameter\n\n\u003e \u003ch4\u003eNOTE: \"cors\" is an optional property. If you do not want to whitelist, do not include \"cors\" in the body.\u003c/h4\u003e\n\n``` json\n  {\n    \"name\": \"My First BaaS app\",\n    \"description\": \"this is a test\",\n    \"app_api_slug\": \"baas-app\",\n    \"cors\": [\n        {\n          \"domain\": \"your-whitelisted-domain.com\",\n        },\n        {\n          \"domain\": \"my-domain.com\",\n        },\n        {\n          \"ip_address\": \"192.168.0.1\"\n        }\n    ]\n }\n```\n\n\u003ch3 id=\"createapplication-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|x-api-key|header|string|true|none|\n|body|body|[CreateApplicationRequest](#schemacreateapplicationrequest)|true|none|\n\n\u003e Example responses\n\n\u003e Returns the message and api key for the newly created application. You have to pass g-api-key in the header to manage the store.\n\n``` json\n{\n  \"message\": \"Application was created.\",\n  \"g-api-key\": \"c41bc073-c613-44d3-8bc3-9aac3392a1dd\"\n}\n```\n\n\u003ch3 id=\"createapplication-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|Returns the message and api key for the newly created application. you have to pass g-api-key in the header to manage the store.|None|\n\n## Delete an existing application\n\n\u003ca id=\"opIdDeleteApplication\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X DELETE http://your-domain.com/api/admin?id=1 \\\n  -H 'Accept: application/json' \\\n  -H 'x-api-key: string'\n\n```\n\n `DELETE /admin`\n*Delete Application*\n\n\u003ch3 id=\"updateapplication-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|id|query|integer(int32)|true|none|\n|Accept|header|string|true|none|\n|x-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"updateapplication-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n``` json\n{\n    \"message\": \"Application Deleted\"\n}\n```\n\n\u003ch1 id=\"opIdStores\"\u003eStores\u003c/h1\u003e\n\n\u003e \u003ch4\u003eThis is where you can insert/update/delete/get your store data. Please keep in mind that when creating the app, whatever the app-api-slug you have passed will update the .htaccess accordingly, and you can access your store using the same. E.g. http://your-domain/api/{app-api-slug}/{storename} (http://your-domain/api/adeels-app/dev-store1). Please NOTE that {store_name} can be anything you want to call your store. This will generate the table in MySQL with a prefix of app-api-slug_storeName\u003c/h4\u003e\n\n\u003e \u003ch4\u003eThis is table-based storage using MySql. This creates a new table for each store along with your app api slug, e.g. baas-app_myStoreName\u003c/h4\u003e\n\u003e \u003ch4\u003eYou do not need to create the schema; upon the first record insert, it will determine the values data type and create the table and columns according to it. Please do not use spaces or any special characters in the json property name except underscores. \u003cbr/\u003e For the complex type, it does support array and object in the payload, and the system will generate that column as a JSON column and store the data in JSON format. For a better understanding please take a look at the request samples I've included below.\u003c/h4\u003e\n\n## Store - Insert Record\n\n\u003ca id=\"opIdGeneric-InsertRecord\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X POST http://your-domain.com/api/baas-app/dev-store1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Accept: application/json' \\\n  -H 'g-api-key: string'\n\n```\n\n `POST /{app-api-slug}/{any-thing}`\n*- Insert Record*\n\n\u003e Body parameter\n\n``` json\n{\n  \"string_col\": \"adeel\",\n  \"int_col\": 1233232,\n  \"long_string_col\": \"adasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadad\",\n  \"bool_col\": true,\n  \"double_col\": 10.23,\n  \"array_col\": [\n    1,\n    2,\n    3\n  ],\n  \"array_col_object\": [\n    {\n      \"n1\": \"v1\"\n    },\n    {\n      \"n1\": \"v2\"\n    },\n    {\n      \"n1\": \"v3\",\n      \"n2\": \"bv1\"\n    }\n  ],\n  \"object_col\": {\n    \"person\": \"adeel\",\n    \"email\": \"someemail@email.com\"\n  },\n  \"date_time_col\": \"2020-08-16T15:03:00.000Z\"\n}\n```\n\n\u003ch3 id=\"generic-insertrecord-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|When you have created the new app, it should have a return response along with g-api-key|\n|body|body|JSON|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-insertrecord-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|201|[Created](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n``` json\n{\n    \"message\": \"record inserted\",\n    \"record_id\": 1,\n    \"status\": true\n}\n```\n\n## Generic-GetSingleRecordsWithCustomColumns\n\n\u003ca id=\"opIdGeneric-GetSingleRecordsWithCustomColumns\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X GET http://your-domain.com/api/azeem/members/2?cols=string \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `GET /azeem/members/2`\n*Generic - Get Single Records With Custom Columns*\n\n\u003ch3 id=\"generic-getsinglerecordswithcustomcolumns-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|cols|query|string|true|none|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-getsinglerecordswithcustomcolumns-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-getsinglerecordswithcustomcolumns-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n## Generic-UpdateRecord\n\n\u003ca id=\"opIdGeneric-UpdateRecord\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X PUT http://your-domain.com/api/azeem/members/2 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `PUT /azeem/members/2`\n*Generic - Update Record*\n\n\u003e Body parameter\n\n``` json\n{\n  \"string_col\": \"Adeel Rizvi\",\n  \"int_col\": 12334567,\n  \"long_string_col\": \"this is a long string\",\n  \"bool_col\": false,\n  \"object_col\": {\n    \"person\": \"Adeel Rizvi\",\n    \"email\": \"someemail@email.com\"\n  }\n}\n```\n\n\u003ch3 id=\"generic-updaterecord-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n|body|body|[Generic-UpdateRecordRequest](#schemageneric-updaterecordrequest)|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-updaterecord-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-updaterecord-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n## Generic-DeleteSingleRecord\n\n\u003ca id=\"opIdGeneric-DeleteSingleRecord\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X DELETE http://your-domain.com/api/azeem/members/2 \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `DELETE /azeem/members/2`\n*Generic - Delete Single Record*\n\n\u003ch3 id=\"generic-deletesinglerecord-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-deletesinglerecord-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-deletesinglerecord-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n## Generic-GetAllRecords\n\n\u003ca id=\"opIdGeneric-GetAllRecords\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X GET http://your-domain.com/api/azeem/members/all \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `GET /azeem/members/all`\n*Generic - Get All Records*\n\n\u003ch3 id=\"generic-getallrecords-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-getallrecords-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-getallrecords-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n## Generic-TruncateStore\n\n\u003ca id=\"opIdGeneric-TruncateStore\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X DELETE http://your-domain.com/api/azeem/members/all \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `DELETE /azeem/members/all`\n*Generic - Truncate Store*\n\n\u003ch3 id=\"generic-truncatestore-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-truncatestore-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-truncatestore-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n## Generic-DeleteStore\n\n\u003ca id=\"opIdGeneric-DeleteStore\"\u003e\u003c/a\u003e\n\n\u003e Code samples\n\n``` shell\n# You can also use wget\ncurl -X DELETE http://your-domain.com/api/azeem/members/storage \\\n  -H 'Accept: string' \\\n  -H 'g-api-key: string'\n\n```\n\n `DELETE /azeem/members/storage`\n*Generic - Delete Store*\n\n\u003ch3 id=\"generic-deletestore-parameters\"\u003eParameters\u003c/h3\u003e\n\n|Name|In|Type|Required|Description|\n|---|---|---|---|---|\n|Accept|header|string|true|none|\n|g-api-key|header|string|true|none|\n\n\u003e Example responses\n\n\u003ch3 id=\"generic-deletestore-responses\"\u003eResponses\u003c/h3\u003e\n\n|Status|Meaning|Description|Schema|\n|---|---|---|---|\n|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|none|None|\n\n\u003ch3 id=\"generic-deletestore-responseschema\"\u003eResponse Schema\u003c/h3\u003e\n\n\u003caside class=\"success\"\u003e\nThis operation does not require authentication\n\u003c/aside\u003e\n\n# Schemas\n\n\u003ch2 id=\"tocS_CreateApplicationRequest\"\u003eCreateApplicationRequest\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemacreateapplicationrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_CreateApplicationRequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocScreateapplicationrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocscreateapplicationrequest\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"name\": \"24h Fitness Gym\",\n  \"description\": \"Fitness mobile app store\",\n  \"app_api_slug\": \"azeem\",\n  \"cors\": [\n    {\n      \"domain\": \"domain1.com\"\n    },\n    {\n      \"domain\": \"domain2.com\"\n    },\n    {\n      \"domain\": \"domain3.com\"\n    },\n    {\n      \"ip_address\": \"127.0.0.1\"\n    }\n  ]\n}\n\n```\n\nCreateApplicationRequest\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|name|string|true|none|none|\n|description|string|true|none|none|\n|app_api_slug|string|true|none|none|\n|cors|[[Cor](#schemacor)]|true|none|none|\n\n\u003ch2 id=\"tocS_Cor\"\u003eCor\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemacor\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_Cor\"\u003e\u003c/a\u003e\n\u003ca id=\"tocScor\"\u003e\u003c/a\u003e\n\u003ca id=\"tocscor\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"domain\": \"domain1.com\"\n}\n\n```\n\nCor\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|domain|string|false|none|none|\n|ip_address|string|false|none|none|\n\n\u003ch2 id=\"tocS_UpdateApplicationRequest\"\u003eUpdateApplicationRequest\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemaupdateapplicationrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_UpdateApplicationRequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocSupdateapplicationrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocsupdateapplicationrequest\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"description\": \"this is a test\",\n  \"cors\": [\n    {\n      \"domain\": \"domain1.com\",\n      \"updateWith\": \"domain4.com\"\n    },\n    {\n      \"domain\": \"domain2.com\"\n    },\n    {\n      \"domain\": \"domain3.com\"\n    },\n    {\n      \"ip_address\": \"127.0.0.1\",\n      \"updateWith\": \"192.168.0.1\"\n    }\n  ]\n}\n\n```\n\nUpdateApplicationRequest\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|description|string|true|none|none|\n|cors|[[Cor1](#schemacor1)]|true|none|none|\n\n\u003ch2 id=\"tocS_Cor1\"\u003eCor1\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemacor1\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_Cor1\"\u003e\u003c/a\u003e\n\u003ca id=\"tocScor1\"\u003e\u003c/a\u003e\n\u003ca id=\"tocscor1\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"domain\": \"domain1.com\",\n  \"updateWith\": \"domain4.com\"\n}\n\n```\n\nCor1\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|domain|string|false|none|none|\n|updateWith|string|false|none|none|\n|ip_address|string|false|none|none|\n\n\u003ch2 id=\"tocS_Generic-InsertRecordRequest\"\u003eGeneric-InsertRecordRequest\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemageneric-insertrecordrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_Generic-InsertRecordRequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocSgeneric-insertrecordrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocsgeneric-insertrecordrequest\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"string_col\": \"adeel\",\n  \"int_col\": 1233232,\n  \"long_string_col\": \"adasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadadadasdasdadasdadadad\",\n  \"bool_col\": true,\n  \"double_col\": 10.23,\n  \"array_col\": [\n    1,\n    2,\n    3\n  ],\n  \"array_col_object\": [\n    {\n      \"n1\": \"v1\"\n    },\n    {\n      \"n1\": \"v2\"\n    },\n    {\n      \"n1\": \"v3\",\n      \"n2\": \"bv1\"\n    }\n  ],\n  \"object_col\": {\n    \"person\": \"adeel\",\n    \"email\": \"someemail@email.com\"\n  },\n  \"date_time_col\": \"2020-08-16T15:03:00.000Z\"\n}\n\n```\n\nGeneric-InsertRecordRequest\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|string_col|string|true|none|none|\n|int_col|integer(int32)|true|none|none|\n|long_string_col|string|true|none|none|\n|bool_col|boolean|true|none|none|\n|double_col|number(double)|true|none|none|\n|array_col|[string]|true|none|none|\n|array_col_object|[[ArrayColObject](#schemaarraycolobject)]|true|none|none|\n|object_col|[ObjectCol](#schemaobjectcol)|true|none|none|\n|date_time_col|string|true|none|none|\n|null_col|string|true|none|none|\n\n\u003ch2 id=\"tocS_ArrayColObject\"\u003eArrayColObject\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemaarraycolobject\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_ArrayColObject\"\u003e\u003c/a\u003e\n\u003ca id=\"tocSarraycolobject\"\u003e\u003c/a\u003e\n\u003ca id=\"tocsarraycolobject\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"n1\": \"v1\"\n}\n\n```\n\nArrayColObject\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|n1|string|true|none|none|\n|n2|string|false|none|none|\n\n\u003ch2 id=\"tocS_ObjectCol\"\u003eObjectCol\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemaobjectcol\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_ObjectCol\"\u003e\u003c/a\u003e\n\u003ca id=\"tocSobjectcol\"\u003e\u003c/a\u003e\n\u003ca id=\"tocsobjectcol\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"person\": \"adeel\",\n  \"email\": \"someemail@email.com\"\n}\n\n```\n\nObjectCol\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|person|string|true|none|none|\n|email|string|true|none|none|\n\n\u003ch2 id=\"tocS_Generic-UpdateRecordRequest\"\u003eGeneric-UpdateRecordRequest\u003c/h2\u003e\n\u003c!-- backwards compatibility --\u003e\n\u003ca id=\"schemageneric-updaterecordrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"schema_Generic-UpdateRecordRequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocSgeneric-updaterecordrequest\"\u003e\u003c/a\u003e\n\u003ca id=\"tocsgeneric-updaterecordrequest\"\u003e\u003c/a\u003e\n\n``` json\n{\n  \"string_col\": \"Adeel Rizvi\",\n  \"int_col\": 12334567,\n  \"long_string_col\": \"this is a long string\",\n  \"bool_col\": false,\n  \"object_col\": {\n    \"person\": \"Adeel Rizvi\",\n    \"email\": \"someemail@email.com\"\n  }\n}\n\n```\n\nGeneric-UpdateRecordRequest\n\n### Properties\n\n|Name|Type|Required|Restrictions|Description|\n|---|---|---|---|---|\n|string_col|string|true|none|none|\n|int_col|integer(int32)|true|none|none|\n|long_string_col|string|true|none|none|\n|bool_col|boolean|true|none|none|\n|object_col|[ObjectCol](#schemaobjectcol)|true|none|none|\n\n\n### Development\n\nWant to contribute? cPanel-PHP-server is open to improvements, so feel free to create a Pull Request to help the community become greater.\n\nLicense\n----\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptalent-23%2Fcpanel-php-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoptalent-23%2Fcpanel-php-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoptalent-23%2Fcpanel-php-server/lists"}