Git Product home page Git Product logo

xml's Introduction

REST Project

API

http://api.potauf.eu/

Authentication

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);

Endpoints

List

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

Create

POST http://api.potauf.eu/{ressource}[.{format}]

Fetch

GET http://api.potauf.eu/{ressource}/{id}[.{format}]

Edit

PUT http://api.potauf.eu/{ressource}/{id}[.{format}]

Delete

DELETE http://api.potauf.eu/{ressource}/{id}[.{format}]

Ressources

Commentaire

Attribut Type Example Default
user_name Varchar(200) fozeek Ø
date Date (dd-mm-YYYY) 12-04-2015 Ø
text Text Hello World! Ø

Developer

Attribut Type Example Default
text Text Hello World! Ø

Editor

Attribut Type Example Default
text Text Hello World! Ø

Game

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] Ø

Genre

Attribut Type Example Default
text Text Hello World! Ø

Media

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] Ø

Mode

Attribut Type Example Default
text Text Hello World! Ø

Rate

Attribut Type Example Default
text Text Hello World! Ø

Support

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] Ø

Theme

Attribut Type Example Default
text Text Hello World! Ø

xml's People

Contributors

fozeek avatar muusha avatar clementgos avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.