Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Preview
Start a free Courses trial
to watch this video
Wrapping things up!
To make your voice be heard regarding future content requests, please let us know in the Community 😃
Links
- HATEOAS: Glory of REST API - Medium
- HATEOAS - Wiki
For a glance at more APIs,
- The Top 50 Most Popular APIs - Rapid API
- A Collective List of APIs - apilist
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You did it.
0:00
Congrats on creating a restful API.
0:01
It's a very sought after
skill in our java world.
0:03
There are so many awesome java
applications out there that are waiting
0:06
to be exposed to more clients.
0:09
As the client side framework improves, and
0:12
things get more and
more mobile providing a way to get at this
0:13
mission critical data is on the forefront
of just about every company's mind.
0:16
I'm glad that we got a chance to see
how to implement it at such a raw,
0:21
micro-framework level.
0:25
I always believe in sweating things out
before you get the chance to see and
0:27
appreciate the abstraction.
0:31
In my opinion,
it's the best way to learn things.
0:32
We plan on covering more frameworks and
their approach to building a restful API.
0:35
Check the teacher's notes.
0:39
If you'd like to see us implement APIs and
other frameworks, please let us know.
0:41
It's possible that somebody
else's already requested it.
0:44
Check the teacher's notes for
more info on how to make your voice heard.
0:47
One thing we didn't fully touch on here
is something A thing that's called
0:51
H-A-T-E-O-A-S which is pronounced
something like hate E-O-S or
0:55
[SOUND] it doesn't really matter.
1:00
What is stands for is Hypermedia As
The Engine Of Application State.
1:02
Now, basically, it's just another level
on top of each of our REST resources
1:06
where additional metadata is included,
and it contains
1:11
descriptions about the resource and links
to what other actions the API provides.
1:13
It's used for discoverability of your API.
1:17
In Spark, this can be done quite easily
with a custom response transformer.
1:20
If you'd like to dig more into that,
please let us know, and
1:25
we'll whip something up.
1:27
Now that you've seen how
to build your own and
1:29
understand the basics of REST, you
should check out some other large APIs.
1:31
I've included some resources
in the teacher's notes.
1:35
With this experience of
coding up a REST API,
1:38
I bet it will forever change the way
you design forward facing APIs.
1:41
It will have given you
a REST'ed development.
1:44
That was a stretch.
1:48
Thanks so much for hanging out,
and we'll see you really soon.
1:50
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up