I have interesting situation here, which I’d like to draw your opinions upon. I’m designing a REST API and here are the Resources pertaining to this question.
I have an User Entity, which I create through POST
/users/and Read-Update-Delete(RUD) by
I have an Event Entity which I create through POST
/events/and Read-Update-Delete(RUD) by
Now, multiple Users can be associated to multiple Events. This is why, there is a Member Entity which references a
event-id. Basically, every time a User attends an Event, he as a unique Member profile for that Event. Member is created through
/events/:event-id/membersand modified through
I have Mini Events which are parts of Events. A Mini Event is NOT an Event, but instead a part of an Event. They are created through
/events/:event-id/minieventand modified through
Here’s my question
I wish to associate Members of an Event to a Mini Event of naturally, the same Hackathon.
The first way that comes to mind is POST
event/event:id/minievents/:minievents/members BUT the Member entity I wish to associate to this Mini Event has been created when I created this Member for this Event. Naturally, you cannot associate a Member to a Mini-Event before creating a Member for the main Event in the first place.
I believe using POST
event/event:id/minievents/:minievents/members would be incorrect as it would mean creating members but they have already been created.
I wish to associate Members of an Event to a Mini Event. What would be the most RESTful way to do this?
Note: Mini Events have a different schema than Events, they are different entities and not interchangeable. Don’t suggest making Mini Events and Events the same thing.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!