Comments (4)
I actually like, and want this. But I do have a problem with doing it for real, and here's why: all entries submitted to the main website are moderated and either approved or rejected by some of our volounteers... Doesn't the idea of a having an option to write in the API contradicts the "freely create resources" aspect?
I mean, if you submit places wouldn't you expect them to be available now, rather than later in time? Of course, I could have trusted account who can bypass moderation (we've done it with data from UPA, although not from the API), but that would have us vetting accounts into trustability of their entries.
(Now I'm not saying it's a bad idea, I just want to make sure we can do it right!)
Also, right now, we are open to all categories of business that are permitted while in the sanitary emergency, but when it's over, we might, decide to go back to less categories... Although all entries could still be read and written in API and we would just decide what to show or hide on our end. (Yeah, ok, this point is non valid!)
from solutionlocale.ca.
Im going to try my best to unwrap everything :
Doesn't the idea of a having an option to write in the API contradicts the "freely create resources" aspect?
I dont understand what you mean. Why can't we have moderated and user-submitted?
I mean, if you submit places wouldn't you expect them to be available now, rather than later in time?
I would actually expect the API to return places with a status field and let me decide which Places to show and how to show them. Another idea, the API returns approved Places and Places created with my API (with a status field = 'pending').
(Now I'm not saying it's a bad idea, I just want to make sure we can do it right!)
I totally understand, this is a big feature.
Although all entries could still be read and written in API and we would just decide what to show or hide on our end.
Like I said earlier, that would also be the job of the client to decide what to do with them.
from solutionlocale.ca.
Why can't we have moderated and user-submitted?
Well, my fear there was in the way I was seeing the API. At first I was thinking of the write routes to be as free as the read route, meaning we could write as much as we could read without anything coming in to block us... Like, you could build an entire new frontend interface and just interact with out API. But...
I would actually expect the API to return places with a status field and let me decide which Places to show and how to show them.
This does make more sense. People could just submit places, and they get to the moderation queue. For us that's important, but anyone could just decide to go over our decided limitation and get anything that's not moderated for solution locale still. That'd work.
Another idea, the API returns approved Places and Places created with my API (with a status field = 'pending').
This is almost ready actually. The partner
route gives you any external source of data we've added (for now, only the UPA).
Like I said earlier, that would also be the job of the client to decide what to do with them.
This is the key, and you're right about it. We can open the API, and that's for the clients (be them others or our own site) to play with them. I'll submit this to our core team to see what they think about that!
from solutionlocale.ca.
We'd have to find a good solution or #31 before though. We need something that'd detect possible doubles if the API gets opened.
from solutionlocale.ca.
Related Issues (20)
- Add parent relationship to categories HOT 4
- Regenerate slug on name change HOT 1
- Add a field so people can give some feedback / notes to moderators to see when submitting places
- Force at least one mean of contact
- Add a filter for Categories HOT 1
- Force uppercase on postal code when creating a Place HOT 2
- A command to normalize data HOT 2
- Link moderators to regions HOT 2
- Add a new field for Facebook link HOT 1
- Add a link to the map when not on index page (ie: regions, etc.) HOT 1
- Multiple places with same address are up one another in the map
- Add category filter in the "all" page
- Pre-fill RCM data with previous form choices when redirecting on error
- FAVICON HOT 1
- Suggestion - Show category in listing HOT 1
- Suggestion - Merge with https://achetelocal.com HOT 3
- Deleting a place does not cascade, we should see for an eloquent event and act accordingly
- Show categories as multi level when filtering, rather than all of them. HOT 1
- There is no list of closed place for moderator to go back and reopen if neccesary HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solutionlocale.ca.