Pelle API v10 » Historique » Version 5
Version 4 (Nicolas BERTRAND, 06/09/2016 16:25) → Version 5/45 (Nicolas BERTRAND, 07/09/2016 15:04)
h1. Pelle API v10
h2. API Base URL
<pre>
https://tuco.tdcpb.org/pelle/v1.0
</pre>
h2. Authentication
HTTP requests to the REST API are protected with HTTP Basic authentication
Example:
<pre>
curl -u <username>:<pass> -H "Content-Type: application/json" -X GET https://tuco.tdcpb.org/pelle/v1.0/exhibitors
</pre>
h2. Resources
h2. Parameters
h3. List all exhibitors
<pre>
GET exhibitors
</pre>
sample:
<pre>
{
exhibitors:[
{
'cncid': '123456',
'exhibitor_name': 'UN CINEMA'
'city' : LA VILLE
}
]
}
</pre>
h2. API Base URL
<pre>
https://tuco.tdcpb.org/pelle/v1.0
</pre>
h2. Authentication
HTTP requests to the REST API are protected with HTTP Basic authentication
Example:
<pre>
curl -u <username>:<pass> -H "Content-Type: application/json" -X GET https://tuco.tdcpb.org/pelle/v1.0/exhibitors
</pre>
h2. Resources
h2. Parameters
h3. List all exhibitors
<pre>
GET exhibitors
</pre>
sample:
<pre>
{
exhibitors:[
{
'cncid': '123456',
'exhibitor_name': 'UN CINEMA'
'city' : LA VILLE
}
]
}
</pre>