Skip to content

Feedback on "Hypermedia and APIs" #287

Closed
@jdesrosiers

Description

@jdesrosiers

@handrews Great start! I have a few comments.

"API descriptions and operations"

In this section, I don't think what you are calling API descriptions is the important difference between hypermedia systems and something like OpenAPI or RAML. (Correct me if I am wrong that describing the difference is the point of this section). The significant difference is that in a hypermedia system, the resource defines itself as opposed to having to refer to another document that is assumed to be in context. Hydra doesn't belong in the same list as OpenAPI and RAML in any sense. Hydra is very much a hypermedia system.

a Hyper-Schema document, or set of documents connected by "$ref"s, can be assembled to correspond to an API's set of resource sets

I don't agree. In a hypermedia system you can never know for sure anything beyond the capabilities of the resource you have. You can never know an API's complete set of resource sets. Technically, you could crawl all the targetSchemas, but because targetSchema is non-authoritative, so is your set. Although I see why you might find that useful regardless of the uncertainty, I think this statement is likely to mislead readers about how the nature of hypermedia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions