Le thème seul, sans authentification
curl --request GET \
--url https://core.locusmedical.fr/v2/embed-config/publicimport requests
url = "https://core.locusmedical.fr/v2/embed-config/public"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.locusmedical.fr/v2/embed-config/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://core.locusmedical.fr/v2/embed-config/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.locusmedical.fr/v2/embed-config/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.locusmedical.fr/v2/embed-config/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.locusmedical.fr/v2/embed-config/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}b2b
Le thème seul, sans authentification
OUVERTE, à dessein et sans regret : elle ne rend que de quoi PEINDRE — couleurs, libellés, marque. Le widget l’appelle avant la poignée de main pour que sa première image soit déjà aux couleurs du client, au lieu d’un éclair aux nôtres.
Les fonctionnalités en sont absentes : ce qu’un client a coupé ne regarde que lui, et peindre une coquille n’en a pas besoin.
Un client inconnu rend les défauts — pas un 404. Cette route ne doit pas devenir un moyen de savoir quels identifiants existent.
GET
/
v2
/
embed-config
/
public
Le thème seul, sans authentification
curl --request GET \
--url https://core.locusmedical.fr/v2/embed-config/publicimport requests
url = "https://core.locusmedical.fr/v2/embed-config/public"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.locusmedical.fr/v2/embed-config/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://core.locusmedical.fr/v2/embed-config/public",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.locusmedical.fr/v2/embed-config/public"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.locusmedical.fr/v2/embed-config/public")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.locusmedical.fr/v2/embed-config/public")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Query Parameters
L'identifiant du client, lu par le widget dans son jeton.
Maximum string length:
200Response
Successful Response
The response is of type Response Embed Config Public V2 Embed Config Public Get · object.