Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
On schoolTeacher resource:
{
_items: [
{
_id: 1234
...
_links: {
befriend/poolWith/etc: {
href: "/api/teacher/1234/friends",
method: "POST",
schema: {
properties: {
code: {
type: "string"
required: true
}
}
}
}
}
},
{
_id: 5678
...
_links: {
befriend/poolWith/etc: {
href: "/api/teacher/5678/friends",
method: "POST",
schema: {
properties: {
code: {
type: "string"
required: true
}
}
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment