>> Evan Prodromou wrote:
> I looked it over. I like it all, except that I think that the OEmbed
> representation path should be something like /attachment/:id/oembed
> rather than living in the API. I don't think it belongs there.
/attachment/:id/oembed won't work, as according to my understanding of the
specification at http://www.oembed.com , one API endpoint should serve all
requests. The scheme you suggested would have at least 2 endpoints:
/attachment/:id/oembed and /notice/:id/oembed.

I was going to use /oembed as the endpoint instead of
/api/laconica/oembed, but then I would need to reserve another username,
and I wanted to avoid that.

Would the URL /api/oembed be better?

~Craig

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to