HostingOptions
Create a new hosting option
Changed onpost/api/v2/hosting-options
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (authorization code, authorization URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/auth, token URL http://localhost:8082/realms/referentiel-applications/protocol/openid-connect/token)
- API key in header x-refapp-token
Request body
Example request
{
"site": "CER(RENNES)",
"platform": "PHYSIQUE",
"provider": "DTNUM",
"building": "B15",
"room": "IT2"
}Response
Hosting option created successfully
Example response
{
"site": "CER(RENNES)",
"platform": "PHYSIQUE",
"provider": "DTNUM",
"building": "B15",
"room": "IT2",
"id": "12345678-1234-1234-1234-123456789012"
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - warning
the
request property's maxLength was set to100 - warning
the
request property's maxLength was set to100 - warning
the
request property's maxLength was set to100 - warning
the
request property's maxLength was set to50 - warning
the
request property's maxLength was set to100 - info
the request property
became nullable - info
the request property
became nullable - info
added the non-success response with the status
- breaking