Parameter |
Type |
Example |
name |
String |
quentin |
app_id |
String |
f02368945726d5fc2a14eb576f7276c0 |
mail |
String |
[email protected] |
hash |
String |
a8e3d78142c1ea3b84fa37743c411176ef7c3c895d51da30047e7bbb73de2986 |
referer |
String |
localhost |
name User name
app_id ID of your application
mail user's mail
hash Encrypted unique ID based on the API secret ID, user name, mail, host and API ID.
hash_hmac('sha256', $appSecret.$name.time().$mail.$referer, $appiID);
GET http://api.potauf.eu/{ressource}[.{format}]
Parameter |
Type |
Example |
Default |
page |
integer |
5 |
1 |
count |
integer |
10 |
5 |
page can't be negative
count can't be negative
POST http://api.potauf.eu/{ressource}[.{format}]
GET http://api.potauf.eu/{ressource}/{id}[.{format}]
PUT http://api.potauf.eu/{ressource}/{id}[.{format}]
DELETE http://api.potauf.eu/{ressource}/{id}[.{format}]
Commentaire
Attribut |
Type |
Example |
Default |
user_name |
Varchar(200) |
fozeek |
Ø |
date |
Date (dd-mm-YYYY) |
12-04-2015 |
Ø |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
title |
Varchar(200) |
Hello World! |
Ø |
resume |
Varchar(350) |
Hello World! |
Ø |
descrition |
Text |
Hello World! |
Ø |
official_website |
Varchar(200) |
Hello World! |
Ø |
genres |
Array(Genre) |
[1,3,4] |
Ø |
modes |
Array(Mode) |
[1,3,4] |
Ø |
editors |
Array(Editor) |
[1,3,4] |
Ø |
themes |
Array(Theme) |
[1,3,4] |
Ø |
supports |
Array(Support) |
[1,3,4] |
Ø |
medias |
Array(Media) |
[1,3,4] |
Ø |
commentaires |
Array(Commentaire) |
[1,3,4] |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
src |
Varchar(300) |
http://link.to/src.type |
Ø |
title |
Varchar(200) |
Hello World! |
Ø |
description |
Text |
Hello World! |
Ø |
commentaires |
Array(Commentaire) |
[1,3,4] |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |
Attribut |
Type |
Example |
Default |
owner |
Varchar(300) |
fozeek |
Ø |
console_year |
Date(YYYY) |
1992 |
Ø |
release_date |
Date(dd-mm-YYYY) |
2015-05-18 |
Ø |
price |
float |
34,4 |
Ø |
business_model |
Varchar(500) |
Pay to win |
Ø |
test |
Text |
Super! |
Ø |
developers |
Array(Developer) |
[1,3,4] |
Ø |
rates |
Array(Rate) |
[1,3,4] |
Ø |
medias |
Array(Media) |
[1,3,4] |
Ø |
commentaires |
Array(Commentaire) |
[1,3,4] |
Ø |
Attribut |
Type |
Example |
Default |
text |
Text |
Hello World! |
Ø |