Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Abstract protocol layer #289

@zdne

Description

@zdne

Separate protocol layer from the description of the API semantics. The idea is to move protocol specifics from existing Resource and Action sections into new sections.

This breaks the API Design into two parts:

  1. domain semantics (= what)
  2. protocol specific details (= how)

Currently the two are mixed. This hinders the purpose of the API and leads to tight coupling with the client. Making the API harder to design, maintain and evolve.

This should follow the Resource Blueprint concept in introducing keywords for resource and action sections – Resource and Action keyword – which enables definition of Resources and Actions without URLs and HTTP methods. Protocol specifics should be mixed in later in a (new) protocols section.

# My API
# Resource Blog Post
- attributes

## Action Retrieve a Post
- relation: self
- parameters
- attributes
...

## HTTP
...

See the Resource Blueprint concept for details.

Related issues #288 and #13

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions