Upload
melidevelopers
View
182
Download
1
Embed Size (px)
Citation preview
Agosto 2016
First 90API Rest
Córdoba
This is our visionBuilding the foundation to Build a 3B Company by FY20
Eduardo Gaiteeduardo.gaite@mercadolibr
e.com
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
Contexto
This is our visionBuilding the foundation to Build a 3B Company by FY20
Estado de Situación
● Arquitectura Monolítica. Un solo ejecutable para el delivery
● Dependencia en el desarrollo. Un solo repositorio
● Infinidad de casos de test
● Pasajes a producción muy espaciados. Caóticos
● Una sola tecnología base
● Imposibilidad de acceso a los recursos desde el exterior
This is our visionBuilding the foundation to Build a 3B Company by FY20
Proceso de Migración
● Arquitectura Distribuida
● Independencia entre Departamentos - Responsabilidades
● API's MELI = Conjunto de Recursos
● Utilizada por los Front Ends del Site
● Independencia de Tecnologías
● Múltiples pasajes a producción en simultáneo
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
API
This is our visionBuilding the foundation to Build a 3B Company by FY20
Rest full
● Definición○ Organización de
funcionalidades.
● Dominio General○ https://api.mercadolibre.com
This is our visionBuilding the foundation to Build a 3B Company by FY20
Rest full
api.mercadolibre.com/users/items/orders
This is our visionBuilding the foundation to Build a 3B Company by FY20
Https
This is our visionBuilding the foundation to Build a 3B Company by FY20
Estándar del protocolo
https://api.mercadolibre.com/sites/MLA
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
This is our visionBuilding the foundation to Build a 3B Company by FY20
Json Response
GET a https://api.mercadolibre.com/sites/MLA
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos = URL
/pictures/users/items/orders
/sites/MLA/search
/orders/bookmarks
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
Conceptos
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos Públicos y Privados
GET a https://api.mercadolibre.com/users/6280737
7
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos Públicos y Privados
GET a https://api.mercadolibre.com/users/62807377?access_token=....
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección
TítuloPrecioImágen
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección - Json Item Completo
https://api.mercadolibre.com/items/MLA629112495
2.8 K
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección - Json Item Atributos
https://api.mercadolibre.com/items/MLA629112495?attributes=id,title,price,pictures
839 B
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
/items/MLA629112495
/items/MLA623745283
/items/MLA616341170
/items/MLA623745173
X 4
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
/items?ids=MLA629112495,MLA623745283,MLA616341170, MLA623745173
X 1
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget + Selección
/items?
ids=MLA629112495,MLA623745283,MLA616341170,MLA623745173&attributes=id,title,price,picture
5X más rápido10X más corto
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
Applications
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
applications.mercadolibre.com.ar
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
This is our visionBuilding the foundation to Build a 3B Company by FY20
Homologando mi App
http://apps.mercadolibre.com/
This is our visionBuilding the foundation to Build a 3B Company by FY20
Catálogo de Apps
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
Notificaciones
This is our visionBuilding the foundation to Build a 3B Company by FY20
Seteo de notificación
This is our visionBuilding the foundation to Build a 3B Company by FY20
AgendaParte 1
+ Contexto General
+ Rest Full API
+ Conceptos Básicos
+ Aplicación
+ Notificaciones
+ Testing de Aplicaciones & Tools
Testing & Tools
This is our visionBuilding the foundation to Build a 3B Company by FY20
Testing de Aplicación
http://developers.mercadolibre.com/es/realiza-pruebas/
This is our visionBuilding the foundation to Build a 3B Company by FY20
Tools
http://developers.mercadolibre.com/es/herramientas/
?
MuchasGracias