ResistanceCalendar / resistance-calendar-api

API for Resistance Calendar events
MIT License
3 stars 7 forks source link

Add Identifier 'slug' #37

Open pdw207 opened 7 years ago

pdw207 commented 7 years ago

Can we add a slug as an custom additional identifier to an event? We can use that for the event url.

aaghevli commented 7 years ago

Yes, that is a great idea. WRT to IDs in general, I was going to do:

hide the _id since its not OSDI compliant add resistance_calendar:${_id} add resistance_calendar_slug: ${slugified(name)}

Does that sound like what you were thinking?

pdw207 commented 7 years ago

Maybe resistance_calendar_id and resistance_calendar_slug?