Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add Styles API #72

Open
perrygeo opened this issue Nov 23, 2015 · 1 comment
Open

Add Styles API #72

perrygeo opened this issue Nov 23, 2015 · 1 comment

Comments

@perrygeo
Copy link
Contributor

https://www.mapbox.com/developers/api/styles/

@perrygeo
Copy link
Contributor Author

perrygeo commented Dec 9, 2015

I think the major design decisions for the SDK center around how much validation we want to do here.

From the HTTP resource perspective, this API is a relatively simple set of GET, PUT, POST, PATCH and DELETE methods. From the user's perspective, the most challenging part will be constructing valid mapbox GL styles.

We want to keep this low level so I'd propose that, if any GL style helpers are needed, they should be external modules. For now, maybe just assume valid styles and let the HTTP response convey any errors. What do you think @sgillies ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants