{"id":9563,"date":"2024-05-20T15:01:59","date_gmt":"2024-05-20T15:01:59","guid":{"rendered":"https:\/\/accuweb.cloud\/api\/?post_type=docs&#038;p=9563"},"modified":"2024-05-29T08:21:50","modified_gmt":"2024-05-29T08:21:50","slug":"quickstart-createvps","status":"publish","type":"docs","link":"https:\/\/accuweb.cloud\/api\/docs\/latest\/quick-reference\/quickstart-createvps\/","title":{"rendered":"Quickstart.CreateVPS"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"9563\" class=\"elementor elementor-9563\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d41b80a e-flex e-con-boxed e-con e-parent\" data-id=\"d41b80a\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5e38a58 elementor-widget elementor-widget-accordion\" data-id=\"5e38a58\" data-element_type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-accordion{text-align:start}.elementor-accordion .elementor-accordion-item{border:1px solid #d5d8dc}.elementor-accordion .elementor-accordion-item+.elementor-accordion-item{border-top:none}.elementor-accordion .elementor-tab-title{margin:0;padding:15px 20px;font-weight:700;line-height:1;cursor:pointer;outline:none}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{display:inline-block;width:1.5em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon svg{width:1em;height:1em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right{float:right;text-align:right}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left{float:left;text-align:left}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-closed{display:block}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened,.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-closed{display:none}.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-opened{display:block}.elementor-accordion .elementor-tab-content{display:none;padding:15px 20px;border-top:1px solid #d5d8dc}@media (max-width:767px){.elementor-accordion .elementor-tab-title{padding:12px 15px}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{width:1.2em}.elementor-accordion .elementor-tab-content{padding:7px 15px}}.e-con-inner>.elementor-widget-accordion,.e-con>.elementor-widget-accordion{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-9871\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-9871\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">CreateVPS<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-9871\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-9871\"><style><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span>\/*! elementor - v3.21.0 - 15-04-2024 *\/<br \/>.elementor-accordion{text-align:start}.elementor-accordion .elementor-accordion-item{border:1px solid #d5d8dc}.elementor-accordion .elementor-accordion-item+.elementor-accordion-item{border-top:none}.elementor-accordion .elementor-tab-title{margin:0;padding:15px 20px;font-weight:700;line-height:1;cursor:pointer;outline:none}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{display:inline-block;width:1.5em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon svg{width:1em;height:1em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right{float:right;text-align:right}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left{float:left;text-align:left}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-closed{display:block}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened,.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-closed{display:none}.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-opened{display:block}.elementor-accordion .elementor-tab-content{display:none;padding:15px 20px;border-top:1px solid #d5d8dc}@media (max-width:767px){.elementor-accordion .elementor-tab-title{padding:12px 15px}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{width:1.2em}.elementor-accordion .elementor-tab-content{padding:7px 15px}}.e-con-inner>.elementor-widget-accordion,.e-con>.elementor-widget-accordion{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\n<h3>CreateEnvironment (appid, session, env, nodes, [actionkey], [ownerUid], [envGroups] ) :<\/h3>\n<p>Creates a new environment with the required settings.<\/p>\n<h4 id=\"url\">URL<\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/control\/rest\/createenvironment<\/p>\n<h4>Parameters<\/h4>\n<ul>\n<li><b>appid<\/b>&nbsp;: \u201cstring\u201dunique identifier of the target application (required for authentication).<\/li>\n<li><b>session<\/b>&nbsp;: \u201cstring\u201d&nbsp;<a title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1211\">user session<\/a> or <a title=\"personal access token\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/personal-access-tokens\/\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"415\">personal access token<\/a>.<\/li>\n<li><b>env<\/b> : \u201cjson\u201d JSON object with environment settings:<br>\n<pre id=\"ext-gen2252\">{\n   \"displayName\": \"string\",  (Mandatory)  \/\/ Environment name for display purpose\n   \"engine\": \"string\",  (Optional) \/\/ <em>java6<\/em>,&nbsp;<em>java7<\/em>,&nbsp;<em>java8<\/em>,&nbsp;<em>php5.3<\/em>,&nbsp;<em>php5.4<\/em>,&nbsp;<em>php5.5<\/em>, etc. <a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/quick-reference\/common-variables\/\">more details ..<\/a>\n   \"ishaenabled\": \"boolean\", (Optional)\n   \"region\": \"string\", \/\/ (Optional) <a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/quick-reference\/common-variables\/\">more details ..<\/a>\n   \"shortdomain\": \"string\", (Mandatory) \/\/ ex ... <span style=\"text-decoration: underline;\"><strong>env-0203918<\/strong><\/span>  (this env can be accessed from <strong>env-0203918.us-accuweb.cloud<\/strong>)\n   \"sslstate\": \"boolean\" (Optional)\n}<\/pre>\n<\/li>\n<li><b>nodes<\/b> : \u201cjson\u201d JSON object with a list of environment nodes and their settings:<br>\n<pre id=\"ext-gen2253\">[{   \n   \"nodeGroup\": \"string\", \/\/ cp, vps, etc. <a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/quick-reference\/common-variables\/#docker-based-environment-configurations\">more details ..<\/a> \n   \"nodeType\": \"string\", \/\/ apache, centos-vps, etc. <a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/quick-reference\/common-variables\/#docker-based-environment-configurations\">more details ..<\/a>  \n}, ...]<\/pre>\n<\/li>\n<li><b>actionkey<\/b> : \u201cstring\u201d (optional) name of the action and domain name.<\/li>\n<li><b>ownerUid<\/b> : \u201cint\u201d (optional) unique identifier of the environment owner (if installing as collaborator on another user account).<\/li>\n<li><b>envGroups<\/b> : \u201cstring\u201d (optional) target group name or JSON array of group names.<\/li>\n<\/ul>\n<h4>Example<\/h4>\n<p>Method: POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/control\/rest\/createenvironment?envGroups=[string]&amp;nodes=[json]&amp;session=[string]&amp;appid=[string]&amp;actionkey=[string]&amp;env=[json]&amp;ownerUid=[int]<\/p>\n<h4>Response<\/h4>\n<pre>{\n  \"result\": 0, \/\/ successful\n  \"response\": {\n    \"result\": 0,\n    \"date\": \"2024-05-10 15:08:07\", \/\/ creation date\n    \"envGroups\": [],\n    \"nodes\": [\n      {\n        \"guestOSType\": \"LINUX\",\n        \"diskIopsLimit\": 5000,\n        \"addons\": [],\n        \"customitem\": {\n          \"dockerVolumes\": [],\n          \"dockerOs\": \".centos-minimal-7-x86_64\",\n          \"nodeVersion\": \"7.9\",\n          \"dockerName\": \"jelastic\/centosvps\",\n          \"dockerTag\": \"7.9\",\n          \"dockerVolumesFrom\": [],\n          \"dockerManifest\": {\n            \"imageId\": \"sha256:e3458f5169e752fc3d176ec586xxxxxx813630fd0afbcb36466467053a2ed00cf\",\n            \"workdir\": \"\",\n            \"os\": \"linux\",\n            \"entrypoint\": null,\n            \"created\": \"2022-03-22T16:50:09.959271553Z\",\n            \"volumes\": null,\n            \"id\": \"sha256:f878f2f6f58a3fxxxxx614e0722ba96d2995c3f338ecebe3a591a0e9c2bb4e5\",\n            \"cmd\": [\n              \"\/bin\/bash\"\n            ],\n            \"env\": [\n              \"PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\",\n              \"CENTOS_VERSION=7.9\"\n            ]\n          }\n        },\n        \"bandwidthLimit\": 100000,\n        \"isCustomSslSupport\": false,\n        \"isResetPassword\": false,\n        \"type\": \"DOCKERIZED\",\n        \"features\": [\n          \"FIREWALL\"\n        ],\n        \"osType\": \"LINUX\",\n        \"ismaster\": true,\n        \"canBeExported\": false,\n        \"diskIoLimit\": 201088640,\n        \"id\": 5356,\n        \"isWebAccess\": false,\n        \"isHighAvailability\": false,\n        \"adminUrl\": \"http:\/\/node5356-api-test-123.us-accuweb.cloud\",\n        \"isVcsSupport\": false,\n        \"endpoints\": [],\n        \"ctid\": 6364,\n        \"address\": \"10.xxx.3.75\",\n        \"isClusterSupport\": false,\n        \"diskLimit\": 400000,\n        \"maxchanks\": 100,\n        \"nodemission\": \"vds\",\n        \"singleContext\": false,\n        \"flexibleCloudlets\": 100,\n        \"nodeType\": \"centos-vps\",\n        \"packages\": [],\n        \"intIP\": \"10.xxx.3.75\",\n        \"version\": \"7.9\",\n        \"nodeGroup\": \"vds\",\n        \"url\": \"http:\/\/node5356-api-test-123.us-accuweb.cloud\",\n        \"hasPackages\": false,\n        \"isExternalIpRequired\": false,\n        \"contextValidatorRegex\": \"ROOT\",\n        \"port\": 80,\n        \"cloudletsMinCount\": 1,\n        \"vType\": \"CT\",\n        \"name\": \"CentOS\",\n        \"messages\": [],\n        \"fixedCloudlets\": 50,\n        \"user\": \"root\",\n        \"status\": 6\n      }\n    ],\n    \"appid\": \"adxxxxxxxxxca64e1003a82d\",\n    \"name\": \"api-test-123\",\n    \"env\": {\n      \"displayName\": \"thisIsfortest-123\",\n      \"ishaenabled\": false,\n      \"isRemote\": false,\n      \"shortdomain\": \"api-test-123\",\n      \"contexts\": [],\n      \"sslstate\": false,\n      \"isTransferring\": false,\n      \"createdOn\": \"2024-05-10 15:07:18\",\n      \"uid\": 22,\n      \"creatorUid\": 22,\n      \"extdomains\": [],\n      \"envName\": \"api-test-123\",\n      \"isFirewallEnabled\": true,\n      \"appid\": \"ad9d17a22xxxxxx0889dca64e1003a82d\",\n      \"domain\": \"api-test-123.us-accuweb.cloud\",\n      \"attributes\": {},\n      \"hostGroup\": {\n        \"uniqueName\": \"user_host_group\",\n        \"displayName\": \"Users\"\n      },\n      \"ownerUid\": 22,\n      \"hardwareNodeGroup\": \"user_host_group\",\n      \"status\": 1\n    },\n    \"nodeGroups\": [\n      {\n        \"templateType\": \"DOCKERIZED\",\n        \"displayName\": \"centos Node\",\n        \"scalingMode\": \"STATEFUL\",\n        \"restartContainerDelay\": 0,\n        \"isSequentialDeploy\": false,\n        \"redeployContextDelay\": 30,\n        \"isSLBAccessEnabled\": true,\n        \"features\": [\n          \"FIREWALL\"\n        ],\n        \"deployments\": [],\n        \"restartNodeDelay\": 0,\n        \"vType\": \"CT\",\n        \"redeployContainerDelay\": 30,\n        \"name\": \"vds\"\n      }\n    ],\n    \"creatorAppid\": \"dashboard\"\n  }\n}<\/pre><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-9872\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-9872\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Create VPS with apache <\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-9872\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-9872\"><p class=\"has-line-data\" data-line-start=\"0\" data-line-end=\"1\">This guide explains how to create a Virtual Private Server (VPS) with Apache pre-installed using the AccuWeb.Cloud API&#8217;s \u201cInstalls a custom JPS manifest\u201d functionality. This streamlined approach combines environment creation, configuration, and Apache installation into a single API call.<\/p><p data-sourcepos=\"14:1-14:19\"><strong>Authentication:<\/strong><\/p><ul data-sourcepos=\"16:1-17:0\"><li data-sourcepos=\"16:1-17:0\">You can authenticate using either an application ID (<code>appid<\/code>) or a user session token (<code>session<\/code>).<\/li><\/ul><h3 class=\"code-line\" data-line-start=\"2\" data-line-end=\"3\"><a id=\"API_Parameters_2\"><\/a>API Parameters<\/h3><ul><li class=\"has-line-data\" data-line-start=\"4\" data-line-end=\"5\"><strong>appid (optional):<\/strong>\u00a0Unique identifier for your target application (required for authentication if no session is provided).<\/li><li class=\"has-line-data\" data-line-start=\"5\" data-line-end=\"6\"><strong>session (optional):<\/strong> Your user session token or a <a class=\"wpil_keyword_link\" href=\"https:\/\/accuweb.cloud\/api\/docs\/latest\/others\/personal-access-tokens\/\"   title=\"personal access token\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1580\">personal access token<\/a> (refer to the\u00a0<a title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1211\">user session<\/a>\u00a0or\u00a0<a title=\"personal access token\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/personal-access-tokens\/\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"415\">personal access token<\/a>\u00a0for details on obtaining these)..<\/li><li class=\"has-line-data\" data-line-start=\"6\" data-line-end=\"7\"><strong>jps (required):<\/strong> A custom JPS manifest containing deployment instructions.<\/li><li class=\"has-line-data\" data-line-start=\"7\" data-line-end=\"8\"><strong>envName (optional):<\/strong>\u00a0Name for your target environment (specified within the JPS itself).<\/li><li class=\"has-line-data\" data-line-start=\"8\" data-line-end=\"9\"><strong>nodeGroup (optional):<\/strong>\u00a0Unique identifier of the target node group (layer) (specified within the JPS itself).<\/li><li class=\"has-line-data\" data-line-start=\"9\" data-line-end=\"11\"><strong>displayName (optional):<\/strong>\u00a0A custom alias (display name) for the deployed JPS application.<code><\/code><\/li><\/ul><h3 class=\"code-line\" data-line-start=\"40\" data-line-end=\"41\"><a id=\"Sample_Request_40\"><\/a>Sample Request<\/h3><p class=\"has-line-data\" data-line-start=\"42\" data-line-end=\"43\"><strong>URL:<\/strong>\u00a0https:\/\/[hoster-api-host]\/1.0\/marketplace\/jps\/rest\/install<\/p><p class=\"has-line-data\" data-line-start=\"44\" data-line-end=\"45\"><strong>POST Fields:<\/strong><\/p><pre><code class=\"has-line-data\" data-line-start=\"47\" data-line-end=\"53\">{\n  \"<span class=\"hljs-attribute\">session<\/span>\": <span class=\"hljs-value\"><span class=\"hljs-string\">\"user session token\"<\/span><\/span>,\n  \"<span class=\"hljs-attribute\">shortdomain<\/span>\": <span class=\"hljs-value\"><span class=\"hljs-string\">\"unique_string\"<\/span> (avoid duplicates with existing environments)<\/span>,\n  \"<span class=\"hljs-attribute\">jps<\/span>\": <span class=\"hljs-value\"><span class=\"hljs-string\">{\n  \"type\": \"install\",\n  \"name\": \"YourEnvironmentName\",\n  \"nodes\": {\n    \"nodeGroup\": \"application_layer\" (e.g., \"vps\" for default application server),\n    \"nodeType\": \"your_vps_type\",\n    \"fixedCloudlets\": \"number_of_always_running_cloudlets\",\n    \"cloudlets\": \"maximum_cloudlets_during_traffic_spikes\"\n  },\n  \"onInstall\": {\n    \"cmd [application_layer]\": [\n      \"commands to execute on installation\" (e.g., update packages, install Apache, start\/enable services, configure firewall)\n    ]\n  }\n}<\/span>  \n<\/span>}\n<\/code><\/pre><p class=\"has-line-data\" data-line-start=\"54\" data-line-end=\"55\"><strong>Replace placeholders:<\/strong><\/p><ul><li class=\"has-line-data\" data-line-start=\"56\" data-line-end=\"57\"><code>user session token<\/code>: Your actual user session token.<\/li><li class=\"has-line-data\" data-line-start=\"57\" data-line-end=\"59\"><code>unique_string<\/code>: Choose a unique string for your environment&#8217;s short domain.<\/li><li class=\"has-line-data\" data-line-start=\"33\" data-line-end=\"34\"><code>YourEnvironmentName<\/code>: The desired name for your environment.<\/li><li class=\"has-line-data\" data-line-start=\"34\" data-line-end=\"35\"><code>application_layer<\/code>: The target node group (e.g., \u201ccp\u201d).<\/li><li class=\"has-line-data\" data-line-start=\"35\" data-line-end=\"36\"><code>your_vps_type<\/code>: The type of VPS you want to install (e.g., \u201calmalinux-vps\u201d).<\/li><li class=\"has-line-data\" data-line-start=\"36\" data-line-end=\"37\"><code>number_of_always_running_cloudlets<\/code>: The number of cloudlets that should always be running.<\/li><li class=\"has-line-data\" data-line-start=\"37\" data-line-end=\"38\"><code>maximum_cloudlets_during_traffic_spikes<\/code>: The maximum number of cloudlets that can scale up during traffic surges.<\/li><li class=\"has-line-data\" data-line-start=\"38\" data-line-end=\"40\"><code>\"commands to execute on installation\"<\/code>: Replace these with the actual commands needed to prepare your environment (e.g., update packages, install software, configure services).<ul><li class=\"has-line-data\" data-line-start=\"49\" data-line-end=\"51\">In our case we put :<\/li><\/ul><p>\u00a0 \u00a0 \u00a0 \u00a0[\u00a0 \u201csudo yum update -y\u201d,<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u201csudo yum install httpd -y\u201d,<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u201csudo yum -y install php\u201d,<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u201csudo systemctl start httpd\u201d,<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u201csudo systemctl enable httpd\u201d\u00a0]&#8217;<\/p><\/li><\/ul><h3 class=\"code-line\" data-line-start=\"59\" data-line-end=\"60\"><a id=\"Sample_Response_59\"><\/a>Sample Response<\/h3><p class=\"has-line-data\" data-line-start=\"61\" data-line-end=\"62\">The response will be similar to the following, indicating successful deployment:<\/p><pre><code class=\"has-line-data\" data-line-start=\"64\" data-line-end=\"77\">{\n  \"result\": 0,\n  \"uniqueName\": \"...\",  \/\/ Unique identifier for the deployment\n  \"response\": {\n    \"result\": 0,\n    \"uniqueName\": \"...\",  \/\/ Unique identifier for the environment\n    \"successText\": \"\",\n    \"appid\": \"...\"       \/\/ Unique identifier for the application\n  },\n  \"appid\": \"...\"  \/\/ Unique identifier for the application\n  \"successText\": \"\"\n}\n<\/code><\/pre><p class=\"has-line-data\" data-line-start=\"78\" data-line-end=\"79\">This approach simplifies VPS creation and Apache installation, saving you time and effort.<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-9873\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-9873\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Deploy a PHP Application on the Above Created VPS<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-9873\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-9873\"><p class=\"has-line-data\" data-line-start=\"2\" data-line-end=\"3\">This guide builds upon the previous article, which covered the steps for creating VPS along with the Apache to AccuWeb.Cloud. Here, we\u2019ll see how we can deploy our PHP Application using the jps (JavaScript Provisioning Script) functionality.<\/p><h3 id=\"api-parameters\" class=\"code-line\" data-line-start=\"4\" data-line-end=\"5\"><a id=\"API_Parameters_4\"><\/a>API Parameters<\/h3><ul><li class=\"has-line-data\" data-line-start=\"6\" data-line-end=\"7\"><strong>appid (optional):<\/strong>\u00a0Unique identifier for your target application (required for authentication if no session is provided).<\/li><li class=\"has-line-data\" data-line-start=\"7\" data-line-end=\"8\"><strong>session (optional):<\/strong>\u00a0Your user session token or a personal access token (refer to the\u00a0<a title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1211\">user session<\/a>\u00a0or\u00a0<a title=\"personal access token\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/personal-access-tokens\/\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"415\">personal access token<\/a>\u00a0for details on obtaining these).<\/li><li class=\"has-line-data\" data-line-start=\"8\" data-line-end=\"9\"><strong>jps (required):<\/strong>\u00a0JSON code generated from cloud scripting (a sample is provided below).<\/li><li class=\"has-line-data\" data-line-start=\"9\" data-line-end=\"10\"><strong>envName (required as we want to update existing environment ):<\/strong> Name for your target environment.<\/li><li class=\"has-line-data\" data-line-start=\"10\" data-line-end=\"12\"><strong>nodeGroup (optional):<\/strong>\u00a0Unique identifier of the target node group (layer) (can be specified within the JSON itself).<\/li><\/ul><h3 id=\"sample-request-1\" class=\"code-line\" data-line-start=\"12\" data-line-end=\"13\"><a id=\"Sample_Request_12\"><\/a>Sample Request<\/h3><p class=\"has-line-data\" data-line-start=\"14\" data-line-end=\"15\"><strong>URL:<\/strong>\u00a0https:\/\/[hoster-api-host]\/1.0\/marketplace\/jps\/rest\/install<\/p><p class=\"has-line-data\" data-line-start=\"16\" data-line-end=\"17\"><strong>POST Fields:<\/strong><\/p><pre><code class=\"has-line-data\" data-line-start=\"19\" data-line-end=\"39\">{\n  \"session\": \"your_user_session_token\",\n  \"envName\": \"YourEnvironmentName\", (make sure it is same as you entered while creating VPS)\n  \"shortdomain\": \"unique_string\", (make sure it is same as you entered while creating VPS)\n  \"jps\": {\n    \"type\": \"update\",\n    \"name\": \"YourEnvironmentName\", (make sure it is same as you entered while creating VPS)    \n    \"onInstall\": {\n      \"cmd [application_layer]\": [\n        \"commands to execute on installation\" (e.g., update packages, install Apache and PHP, start\/enable services, configure firewall, clone your application code)\n      ]\n    }\n  }\n}\n<\/code><\/pre><p class=\"has-line-data\" data-line-start=\"40\" data-line-end=\"41\"><strong>Replace placeholders:<\/strong><\/p><ul><li class=\"has-line-data\" data-line-start=\"42\" data-line-end=\"43\"><code>your_user_session_token<\/code>: Your actual user session token.<\/li><li class=\"has-line-data\" data-line-start=\"43\" data-line-end=\"44\"><code>unique_string<\/code>: Choose a unique string for your environment\u2019s short domain.<\/li><li class=\"has-line-data\" data-line-start=\"44\" data-line-end=\"45\"><code>YourEnvironmentName<\/code>: The desired name for your environment.<\/li><li class=\"has-line-data\" data-line-start=\"45\" data-line-end=\"46\"><code>application_layer<\/code>: The target node group (e.g., \u201cvps\u201d here).<\/li><li class=\"has-line-data\" data-line-start=\"49\" data-line-end=\"51\"><code>\"commands to execute on installation\"<\/code>: Replace these with array of the actual commands needed to prepare your environment (e.g., update packages, install software, configure services, clone your application code). In our case we put :<\/li><\/ul><p>[\u00a0 \u201csudo yum install firewalld\u201d,<br \/>\u201csudo systemctl start firewalld\u201d,<br \/>\u201csudo systemctl enable firewalld\u201d,<br \/>\u201csudo firewall-cmd \u2013add-service=http\u201d,<br \/>\u201ccd \/var\/www\/html\u201d,<br \/>\u201cgit init\u201d,<br \/>\u201cgit pull https:\/\/github.com\/&lt;your_user&gt;\/&lt;your_repo&gt;.git\u201d ]\u2019<\/p><p><strong>Note :<\/strong>\u00a0For Private Git Repo Format will be:<\/p><pre>https:\/\/&lt;YOUR_GIT_USERNAME&gt;:&lt;PERSONAL_ACCESS_TOKEN&gt;@github.com\/&lt;OWNER_URL_SLUG&gt;.git<\/pre><ul><li><strong>YOUR_GIT_USERNAME<\/strong>: Username of user who is cloning the repo.\u00a0<b>eg<\/b>. code_dev<\/li><li><b>PERSONAL_ACCESS_TOKEN<\/b>: your actual Personal Access Token.\u00a0<b>eg<\/b>. 40_DIGIT_PRIVATE_TOKEN (Refer :\u00a0<a href=\"https:\/\/accuweb.cloud\/resource\/articles\/git-clone-private-repo\">How to generate PAT in GitHub<\/a>)<\/li><li><strong>OWNER_URL_SLUG<\/strong>: Private git url slug.<br \/><strong>eg.<\/strong>\u00a0https:\/\/github.com\/<strong>Accuweb.cloud\/Private-repo.git<br \/><\/strong><\/li><\/ul><pre><strong>Example URL:- <\/strong>https:\/\/code_dev:40DIGITPROVATETOKEN@github.com\/Accuweb.cloud\/Private-repo.git<\/pre><h3 id=\"sample-response\" class=\"code-line\" data-line-start=\"51\" data-line-end=\"52\"><a id=\"Sample_Response_51\"><\/a>Sample Response<\/h3><p class=\"has-line-data\" data-line-start=\"53\" data-line-end=\"54\">The response will be similar to the following, indicating successful deployment:<\/p><pre><code class=\"has-line-data\" data-line-start=\"56\" data-line-end=\"69\">{\n  \"result\": 0,\n  \"uniqueName\": \"...\",  \/\/ Unique identifier for the deployment\n  \"response\": {\n    \"result\": 0,\n    \"uniqueName\": \"...\",  \/\/ Unique identifier for the environment\n    \"successText\": \"\",\n    \"appid\": \"...\"       \/\/ Unique identifier for the application\n  },\n  \"appid\": \"...\"  \/\/ Unique identifier for the application\n  \"successText\": \"\"\n}\n<\/code><\/pre><p class=\"has-line-data\" data-line-start=\"70\" data-line-end=\"71\">This approach simplifies the deployment process by combining environment creation, configuration, and application deployment into a single API call.<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-9874\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-9874\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Deploying a PHP Application in a Single API Call<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-9874\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-9874\"><p data-line-start=\"2\" data-line-end=\"3\">This guide builds upon the previous article, which covered the steps for deploying a PHP application to AccuWeb.Cloud. Here, we\u2019ll streamline the process into a single API call using the jps (JavaScript Provisioning Script) functionality.<\/p><h3 data-line-start=\"4\" data-line-end=\"5\">API Parameters<\/h3><ul><li data-line-start=\"6\" data-line-end=\"7\"><strong>appid (optional):<\/strong>\u00a0Unique identifier for your target application (required for authentication if no session is provided).<\/li><li data-line-start=\"7\" data-line-end=\"8\"><strong>session (optional):<\/strong> Your user session token or a personal access token (refer to the <a title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1211\">user session<\/a>\u00a0or\u00a0<a title=\"personal access token\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/personal-access-tokens\/\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"415\">personal access token<\/a>\u00a0for details on obtaining these).<\/li><li data-line-start=\"8\" data-line-end=\"9\"><strong>jps (required):<\/strong>\u00a0JSON code generated from cloud scripting (a sample is provided below).<\/li><li data-line-start=\"9\" data-line-end=\"10\"><strong>envName (optional):<\/strong> Name for your target environment (can be specified within the JSON itself that&#8217;s what we will do here).<\/li><li data-line-start=\"10\" data-line-end=\"12\"><strong>nodeGroup (optional):<\/strong> Unique identifier of the target node group (layer) (can be specified within the JSON itself that&#8217;s what we will do here).<\/li><\/ul><h3 data-line-start=\"12\" data-line-end=\"13\">Sample Request<\/h3><p data-line-start=\"14\" data-line-end=\"15\"><strong>URL:<\/strong>\u00a0https:\/\/[hoster-api-host]\/1.0\/marketplace\/jps\/rest\/install<\/p><p data-line-start=\"16\" data-line-end=\"17\"><strong>POST Fields:<\/strong><\/p><pre><code data-line-start=\"19\" data-line-end=\"39\">{\n  \"session\": \"your_user_session_token\",\n  \"shortdomain\": \"unique_string\" (avoid duplicates with existing environments),\n  \"jps\": {\n    \"type\": \"install\",\n    \"name\": \"YourEnvironmentName\",\n    \"nodes\": {\n      \"nodeGroup\": \"application_layer\", (e.g., \"vps\" for creating vps)\n      \"nodeType\": \"your_vps_type\", (e.g., \"almalinux-vps\" for creating almalinux vps)\n      \"fixedCloudlets\": \"number_of_always_running_cloudlets\",\n      \"cloudlets\": \"maximum_cloudlets_during_traffic_spikes\",\n      \"extip\": true (for attaching Public IP address, by default it will be false)\n    },\n    \"onInstall\": {\n      \"cmd [application_layer]\": [\n        \"commands to execute on installation\" (e.g., update packages, install Apache and PHP, start\/enable services, configure firewall, clone your application code)\n      ]\n    }\n  }\n}\n<\/code><\/pre><p data-line-start=\"40\" data-line-end=\"41\"><strong>Replace placeholders:<\/strong><\/p><ul><li data-line-start=\"42\" data-line-end=\"43\"><code>your_user_session_token<\/code>: Your actual user session token.<\/li><li data-line-start=\"43\" data-line-end=\"44\"><code>unique_string<\/code>: Choose a unique string for your environment\u2019s short domain.<\/li><li data-line-start=\"44\" data-line-end=\"45\"><code>YourEnvironmentName<\/code>: The desired name for your environment.<\/li><li data-line-start=\"45\" data-line-end=\"46\"><code>application_layer<\/code>: The target node group (e.g., \u201cvps\u201d here).<\/li><li data-line-start=\"46\" data-line-end=\"47\"><code>your_vps_type<\/code>: The type of VPS you want to install (e.g., \u201calmalinux-vps\u201d).<\/li><li data-line-start=\"47\" data-line-end=\"48\"><code>number_of_always_running_cloudlets<\/code>: The number of cloudlets that should always be running. (e.g., 10).<\/li><li data-line-start=\"48\" data-line-end=\"49\"><code>maximum_cloudlets_during_traffic_spikes<\/code>: The maximum number of cloudlets that can scale up during traffic surges. (e.g., 20).<\/li><li data-line-start=\"49\" data-line-end=\"51\"><code>\"commands to execute on installation\"<\/code>: Replace these with array of the actual commands needed to prepare your environment (e.g., update packages, install software, configure services, clone your application code). In our case we will put :<\/li><\/ul><p>[\u00a0 &#8220;sudo yum update -y&#8221;,<br \/>&#8220;sudo yum install httpd -y&#8221;,<br \/>&#8220;sudo yum -y install php&#8221;,<br \/>&#8220;sudo systemctl start httpd&#8221;,<br \/>&#8220;sudo systemctl enable httpd&#8221;,<br \/>&#8220;sudo yum install firewalld&#8221;,<br \/>&#8220;sudo systemctl start firewalld&#8221;,<br \/>&#8220;sudo systemctl enable firewalld&#8221;,<br \/>&#8220;sudo firewall-cmd &#8211;add-service=http&#8221;,<br \/>&#8220;cd \/var\/www\/html&#8221;,<br \/>&#8220;git init&#8221;,<br \/>&#8220;git pull https:\/\/github.com\/&lt;your_user&gt;\/&lt;your_repo&gt;.git&#8221; ]&#8217;<\/p><p><strong>Note :<\/strong>\u00a0For Private Git Repo Format will be:<\/p><pre>https:\/\/&lt;YOUR_GIT_USERNAME&gt;:&lt;PERSONAL_ACCESS_TOKEN&gt;@github.com\/&lt;OWNER_URL_SLUG&gt;.git<\/pre><ul><li><strong>YOUR_GIT_USERNAME<\/strong>: Username of user who is cloning the repo. <b>eg<\/b>. code_dev<\/li><li><b>PERSONAL_ACCESS_TOKEN<\/b>: your actual Personal Access Token. <b>eg<\/b>. 40_DIGIT_PRIVATE_TOKEN (Refer : <a href=\"https:\/\/accuweb.cloud\/resource\/articles\/git-clone-private-repo\">How to generate PAT in GitHub<\/a>)<\/li><li><strong>OWNER_URL_SLUG<\/strong>: Private git url slug.<br \/><strong>eg.<\/strong>\u00a0https:\/\/github.com\/<strong>Accuweb.cloud\/Private-repo.git<br \/><\/strong><\/li><\/ul><pre><strong>Example URL:- <\/strong>https:\/\/code_dev:40DIGITPROVATETOKEN@github.com\/Accuweb.cloud\/Private-repo.git<\/pre><p><strong>Sample Response<\/strong><\/p><p data-line-start=\"53\" data-line-end=\"54\">The response will be similar to the following, indicating successful deployment:<\/p><pre><code data-line-start=\"56\" data-line-end=\"69\">{\n  \"result\": 0,\n  \"uniqueName\": \"...\",  \/\/ Unique identifier for the deployment\n  \"response\": {\n    \"result\": 0,\n    \"uniqueName\": \"...\",  \/\/ Unique identifier for the environment\n    \"successText\": \"\",\n    \"appid\": \"...\"       \/\/ Unique identifier for the application\n  },\n  \"appid\": \"...\"  \/\/ Unique identifier for the application\n  \"successText\": \"\"\n}\n<\/code><\/pre><p data-line-start=\"70\" data-line-end=\"71\">This approach simplifies the deployment process by combining environment creation, configuration, and application deployment into a single API call.<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>CreateVPS CreateEnvironment (appid, session, env, nodes, [actionkey], [ownerUid], [envGroups] ) : Creates a new environment with the required settings. URL https:\/\/[hoster-api-host]\/1.0\/environment\/control\/rest\/createenvironment Parameters appid&nbsp;: \u201cstring\u201dunique identifier of the target application (required for authentication). session&nbsp;: \u201cstring\u201d&nbsp;user session or personal access token. env : \u201cjson\u201d JSON object with environment settings: { &#8220;displayName&#8221;: &#8220;string&#8221;, (Mandatory) \/\/ Environment name for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9376,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-9563","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/9563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/comments?post=9563"}],"version-history":[{"count":70,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/9563\/revisions"}],"predecessor-version":[{"id":9762,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/9563\/revisions\/9762"}],"up":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/9376"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/media?parent=9563"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/doc_tag?post=9563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}