Ha ocurrido un error al recuperar los datos

CmsApi

EndPoints

$endPoint){ $hasAdminAccess = userHasSectionAdminAccess( @$url ); $hasUserAccess = userHasSectionWriterAccess( @$url ); $hasAllAdminAccess = userHasAllAdminAccess(); $hasMenuAccess = $hasAdminAccess || $hasUserAccess; if ($hasAllAdminAccess){ if (@$endPoint["custom"] || @$url == "upload" || @$url == "bulk" || @$url == "auth") $hasMenuAccess = true; }else{ if (@$url == "auth") $hasMenuAccess = true; } if (userHasSectionReadAccess(@$url)){ $hasMenuAccess = true; unset($endPoint["methods"]["POST"]); unset($endPoint[":"]["methods"]["PATCH"]); unset($endPoint[":"]["methods"]["DELETE"]); } if (!$hasMenuAccess) continue; if (@$endPoint["pipes"] && userHasAllAdminAccess()){ foreach($endPoint["pipes"] as $pipe => $method){ if (@$method["params"]) $key = "POST"; else $key = "GET"; if (@$method["method"]) $key = @$method["method"]; $endPoint["title"] = $method["title"]; $endPoint["description"] = $method["description"]; paintMethod($url,$endPoint,$key,$method,$pipe); } continue; } foreach($endPoint["methods"] as $key => $method){ paintMethod($url,$endPoint,$key,$method); } if (@$endPoint["search"]){ foreach($endPoint["search"]["methods"] as $key => $method){ paintMethod($url,$endPoint,$key,$method,"search"); } } if (@$endPoint[":"]){ foreach($endPoint[":"]["methods"] as $key => $method){ paintMethod($url,$endPoint,$key,$method,":"); } } } ?>
  • ()
    https:///

    ".$url." del Gestor de Contenidos"; } break; default: echo @$method["description"] ?: "Sin descripción asignada"; } break; case "PATCH": echo "Actualizar un registro pasando el identificador (".$endPoint[":"]["variable"].") como referencia";break; case "DELETE": echo "Eliminar registro pasando el identificador (".$endPoint[":"]["variable"].") como referencia";break; default: } } ?>

    HEADERS

    $headerValue){?>
    obligatorio" : "opcional";?>
    BODY

    $bodyValue){?>
    "; echo json_encode($bodyValue["value"],JSON_PRETTY_PRINT); echo ""; }else{ echo $bodyValue["value"]; } }else{ if (is_array($bodyValue)){ echo "
    ";
    							echo json_encode($bodyValue,JSON_PRETTY_PRINT);
    							echo "
    "; }else{ echo $bodyValue; } } ?>
    obligatorio" : "opcional";?>