POST http://api.peyrolles.tekshelf.fr/api/esp/boards/SN3TG1ET3/weights?apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1

PostUpdateWeights

Request

GET Parameters

Key Value
apiKey
"1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_api_header_parameters
[
  "content-length" => [
    "31"
  ]
  "host" => [
    "api.peyrolles.tekshelf.fr"
  ]
  "content-type" => [
    "application/json"
  ]
  "x-forwarded-ssl" => [
    "on"
  ]
  "x-forwarded-port" => [
    "443"
  ]
  "user-agent" => [
    "ESP32 HTTP Client"
  ]
  "x-forwarded-host" => [
    "api.peyrolles.tekshelf.fr"
  ]
  "x-original-uri" => [
    "/api/esp/boards/SN3TG1ET3/weights?apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
  ]
  "x-real-ip" => [
    "92.92.129.166"
  ]
  "x-forwarded-for" => [
    "92.92.129.166"
  ]
  "x-forwarded-proto" => [
    "https"
  ]
  "x-php-ob-level" => [
    "0"
  ]
]
_api_operation
ApiPlatform\Metadata\Post {#989
  #parameters: null
  #shortName: "Board"
  #class: "App\Entity\Board"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: [
    "groups" => [
      "boards:update:acknowledgment"
    ]
  ]
  #denormalizationContext: [
    "groups" => [
      "board:weights"
    ]
  ]
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: []
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: null
  #paginationClientItemsPerPage: true
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: null
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider"
  #processor: "api_platform.doctrine.orm.state.persist_processor"
  #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#987 …}
  #queryParameterValidationEnabled: null
  #extraProperties: [
    "pagination_items_per_page_parameter_name" => "itemPerPage"
    "user_defined_uri_template" => true
  ]
  #paginationViaCursor: null
  #read: false
  #deserialize: null
  #validate: null
  #write: false
  #serialize: null
  #priority: 4
  #name: "_api_/esp/boards/{serialNumber}/weights_post"
  #method: "POST"
  #uriTemplate: "/esp/boards/{serialNumber}/weights"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #uriVariables: [
    "serialNumber" => ApiPlatform\Metadata\Link {#986
      #key: null
      #schema: null
      #openApi: null
      #provider: null
      #filter: null
      #property: null
      #description: null
      #required: null
      #priority: null
      #hydra: null
      #constraints: null
      #security: null
      #securityMessage: null
      #extraProperties: []
      -parameterName: "serialNumber"
      -fromProperty: null
      -toProperty: null
      -fromClass: "App\Entity\Board"
      -toClass: null
      -identifiers: [
        "serialNumber"
      ]
      -compositeIdentifier: null
      -expandedValue: null
      -securityObjectName: null
    }
  ]
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: null
  #sunset: null
  #acceptPatch: "application/merge-patch+json"
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: "App\Controller\Board\PostUpdateWeights"
  #headers: null
  #cacheHeaders: null
  #hydraContext: null
  #openapiContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
  -itemUriTemplate: null
}
_api_operation_name
"_api_/esp/boards/{serialNumber}/weights_post"
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#2523
  -links: [
    2447 => Symfony\Component\WebLink\Link {#2447
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
      -href: "http://api.peyrolles.tekshelf.fr/api/docs.jsonld"
    }
  ]
}
_api_query_parameters
[
  "apiKey" => "1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
]
_api_resource_class
"App\Entity\Board"
_api_uri_variables
[
  "serialNumber" => "SN3TG1ET3"
]
_controller
"App\Controller\Board\PostUpdateWeights"
_firewall_context
"security.firewall.map.context.main"
_format
null
_resources
[
  "/api/boards/SN3TG1ET3" => "/api/boards/SN3TG1ET3"
]
_route
"_api_/esp/boards/{serialNumber}/weights_post"
_route_params
[
  "_format" => null
  "_stateless" => null
  "_api_resource_class" => "App\Entity\Board"
  "_api_operation_name" => "_api_/esp/boards/{serialNumber}/weights_post"
  "serialNumber" => "SN3TG1ET3"
]
_stateless
null
_stopwatch_token
"33b9f1"
data
App\Entity\Board {#1435
  -id: null
  -ip: null
  -serialNumber: null
  -scales: Doctrine\Common\Collections\ArrayCollection {#1436 …}
  -version: null
  -mode: null
  -lastConnectedAt: null
  -scalesCount: ? int
}
input_format
"json"
original_data
App\Entity\Board {#1203
  -id: Symfony\Component\Uid\UuidV6 {#1193 …}
  -ip: "192.168.0.106"
  -serialNumber: "SN3TG1ET3"
  -scales: Doctrine\ORM\PersistentCollection {#1247 …}
  -version: null
  -mode: "default"
  -lastConnectedAt: DateTimeImmutable @1774393055 {#2368
    date: 2026-03-24 22:57:35.274126 UTC (+00:00)
  }
  -scalesCount: ? int
}
serialNumber
"SN3TG1ET3"

Request Headers

Header Value
content-length
"31"
content-type
"application/json"
host
"api.peyrolles.tekshelf.fr"
user-agent
"ESP32 HTTP Client"
x-forwarded-for
"92.92.129.166"
x-forwarded-host
"api.peyrolles.tekshelf.fr"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-forwarded-ssl
"on"
x-original-uri
"/api/esp/boards/SN3TG1ET3/weights?apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
x-php-ob-level
"0"
x-real-ip
"92.92.129.166"

Request Content

Pretty

[
    {
        "port_index": 61,
        "weight": 77
    }
]

Raw

[{"port_index":61,"weight":77}]

Response

Response Headers

Header Value
accept-patch
"application/merge-patch+json"
cache-control
"no-cache, private"
content-location
"/api/boards/SN3TG1ET3"
content-type
"application/ld+json; charset=utf-8"
date
"Tue, 24 Mar 2026 22:57:35 GMT"
link
"<http://api.peyrolles.tekshelf.fr/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
location
"/api/boards/SN3TG1ET3"
vary
"Accept"
x-content-type-options
"nosniff"
x-debug-token
"b1db3b"
x-frame-options
"deny"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
(no data)

Defined as regular env variables

Key Value
API_PREFIX
"/api"
API_SSL_PROTOCOL
"https://"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"9834ca606950cc7cbf595353d58695cd"
AUTH_TYPE
""
BASE_PATH
"api.peyrolles.tekshelf.fr"
CACHE_URL
"redis://tekshelf_cache:6379"
CONTENT_LENGTH
"31"
CONTENT_TYPE
"application/json"
CORS_ALLOW_ORIGIN
"*"
DATABASE_URL
"mysql://root:@tekshelf_peyrolles_db:3306/tekshelf"
DOCUMENT_ROOT
"/app/public"
DOCUMENT_URI
"/index.php"
GATEWAY_INTERFACE
"CGI/1.1"
GODEBUG
"cgocheck=0"
GPG_KEYS
"1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5"
HOME
"/root"
HOSTNAME
"fc05cab3906b"
HTTPS
""
HTTP_CONTENT_LENGTH
"31"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"api.peyrolles.tekshelf.fr"
HTTP_USER_AGENT
"ESP32 HTTP Client"
HTTP_X_FORWARDED_FOR
"92.92.129.166"
HTTP_X_FORWARDED_HOST
"api.peyrolles.tekshelf.fr"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SSL
"on"
HTTP_X_ORIGINAL_URI
"/api/esp/boards/SN3TG1ET3/weights?apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
HTTP_X_REAL_IP
"92.92.129.166"
JWT_DOMAIN
".peyrolles.tekshelf.fr"
JWT_PASSPHRASE
"20159a86ff2e331dca08688e07e23988e2df2c56ad1f879e3770947210dc301d"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
LETSENCRYPT_HOST
"api.peyrolles.tekshelf.fr"
MAILER_DSN
"mailjet+api://acdca0ec4fb87367ca700831c6ec1579:08b1c62ebfa1cbc41eff73a0f9f25c4f@default"
MAILER_NO_REPLY_DESCRIPTION
"TEKSHELF"
MAILER_NO_REPLY_MAIL
"contact@tekshelf.fr"
MEDIPIM_ACTIVATED
"true"
MEDIPIM_ID
"246"
MEDIPIM_SECRET
"b9f37d1738017d18ee9e2440fd6bf21a198ad604a3fb9ceee0b8923d26b0993a"
MEDIPIM_URL
"https://api.medipim.fr/v4"
MESSENGER_TRANSPORT_DSN
"doctrine://default"
OPEN_FOOD_FACTS_ACTIVATED
"false"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
""
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.5.1.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815"
PHP_URL
"https://www.php.net/distributions/php-8.5.1.tar.xz"
PHP_VERSION
"8.5.1"
PWD
"/app"
QUERY_STRING
"apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
REMOTE_ADDR
"172.18.0.11"
REMOTE_HOST
"172.18.0.11"
REMOTE_IDENT
""
REMOTE_PORT
"34576"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1774393055
REQUEST_TIME_FLOAT
1774393055.1092
REQUEST_URI
"/api/esp/boards/SN3TG1ET3/weights?apiKey=1f0cb928-18e4-6c26-8c69-d78da0e5f8f1"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"api.peyrolles.tekshelf.fr"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"FrankenPHP"
SSL_CIPHER
""
SSL_PROTOCOL
""
SYMFONY_DOTENV_PATH
"/app/.env"
TELEGRAM_BOT_TOKEN
"7500609769:AAEo84eGbd5zkjjxBNiWLpmG-L65xm5Me04"
TELEGRAM_STOCK_CHANNEL_ID
"-1002300230648"
TELEGRAM_THEFT_CHANNEL_ID
"-1002300230648"
VIRTUAL_HOST
"api.peyrolles.tekshelf.fr"
VIRTUAL_PORT
"80"
VUE_APP_API_BASE_PATH
"https://api.peyrolles.tekshelf.fr/api"
VUE_APP_COOKIE_DOMAIN
".tekshelf.fr"
VUE_APP_SPA_URL
"https://peyrolles.tekshelf.fr"
WEBSOCKET_URL
"wss://ws.peyrolles.tekshelf.fr"
XDG_CONFIG_HOME
"/config"
XDG_DATA_HOME
"/data"