/* SSR fallback: if Pylon/TipTap has not rendered the article body shortly after load, reveal the server-rendered HTML so the page is never blank. */ (function () { var FALLBACK_MS = 2500; function target() { return document.getElementById('kb-article-body'); } function hasRealContent() { var t = target(); return !!t && [].some.call(t.children, function (c) { return !c.hasAttribute('data-ssr-fallback') && c.textContent.trim().length > 0; }); } function revealFallback() { var t = target(); var ph = document.querySelector('.kb-article-body-placeholder'); if (!t || !ph || hasRealContent() || t.querySelector('[data-ssr-fallback]')) return; var pm = document.createElement('div'); pm.className = 'ProseMirror'; pm.setAttribute('data-ssr-fallback', '1'); pm.innerHTML = ph.innerHTML; t.appendChild(pm); t.style.display = 'block'; var sk = document.querySelector('.kb-article-body-skeleton'); if (sk) sk.style.display = 'none'; } function dropFallbackIfHydrated() { var t = target(); if (t && hasRealContent()) { var f = t.querySelector('[data-ssr-fallback]'); if (f) f.remove(); } } function start() { var t = target(); if (t && window.MutationObserver) { new MutationObserver(dropFallbackIfHydrated).observe(t, { childList: true, subtree: true }); } setTimeout(revealFallback, FALLBACK_MS); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', start); } else { start(); } })();
Multiplay by Rocket Science

Queue an allocation request

Queues a request to allocate a server in a fleet.

Endpoint

POST /v4/projects/{projectId}/environments/{environmentId}/fleets/{fleetId}/allocations

Request Body

Example Request

curl -X POST "https://api.multiplay.dev/v4/projects/:projectId/environments/:environmentId/fleets/:fleetId/allocations" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Responses

Status

Description

202

Allocation is being processed.

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

429

Too Many Requests

500

Internal Server Error