greptilian logo

IRC log for #rest, 2017-07-19

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
04:14 wsieroci joined #rest
06:38 Haudegen joined #rest
07:01 interop_madness joined #rest
08:42 jgl joined #rest
08:44 jgl hi all guys. I'm struggling with a question. It is a good practice to have an endpoint in my REST API that returns API metadata, like entity schema data types and so on?
10:56 Haudegen joined #rest
11:29 Haudegen joined #rest
12:06 TheRuralJuror_ joined #rest
15:46 Haudegen joined #rest
15:48 ironChicken joined #rest
15:48 wsieroci joined #rest
16:10 tbsf joined #rest
16:31 Haudegen joined #rest
18:10 mamund @jgl : yeah, that's a good idea. but certainly not a requirment, etc.
18:10 mamund another thing to consider is to add a header to all your responses that points to the API metadata.
18:10 mamund i use the link header for this w/ the profile rel value.
18:12 mamund as in... Link: <http://api.example.org/schema/person.json>;rel=profile
18:12 mamund if you add this to your standard output, you're essentially pointing to the related schema "all the time" which could be quite handy
18:36 whartung I keep getting a 400 trying to talk to payara via mod_jk…dont make no sense
20:15 tbsf joined #rest
20:30 Guest11046 joined #rest
21:09 tbsf joined #rest
22:08 tbsf joined #rest
22:27 tbsf joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/