Skip to content

supporting standard link relations #70

Open

Description

@dret

is there a way APIs.json can support RFC 5988 link relations, so that the things it links to can be typed by reusable link relationship type identifiers? baseURL and humanURL look a lot like the proposed link relations service-desc and service-doc, for example: https://tools.ietf.org/html/draft-wilde-service-link-rel

Activity

  1. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    Yes! This is the path I'd like to go for a next major revision. Thank you. Adding to road map.

  2. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  3. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    right now the link property "types" supported are: Swagger, RAML, Blueprint, WADL,WSDL, TermsOfService, InterfaceLicense, StatusPage, Pricing, Forums, AlertsTwitterHandle

    I have numerous others identified across the profiling of APIs I've done - http://theapistack.com/channel-types/

    My goal is to create a coherent set of "essential", and standardize model for their relations by version 2.0.

    I envision many machine readable formats to describe API operations living in harmony with many human readable ones. We'll see how I do.

  4. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    API Commons was the first attempt to establish machine readable "type" for API licensing. I want to include SDK, and data licensing in next iteration - http://apicommons.org/

  5. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    I've done a lot of work to define another separate "type" schema for pricing - http://plans.apievangelist.com/2016/02/13/my-tooling-and-api-for-gathering-and-organizing-the-details-of-the-plans-and-pricing-for-apis/

    My goal is to tackle licensing, terms of service, service level agreements, and plans in next five years. ;-)

  6. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  7. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    Exactly the guidance I need sir! Processing, and will add to the road map.

  8. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  9. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  10. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    Think that fits. API Commons was a response to Oracle v Google, needs significant realignment.

  11. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  12. kinlane commented on Aug 1, 2017

    @kinlane
    Contributor

    You know I actually agree with you on pricing. But I can't help but try every couple of years. Some of the more commodity based ones are easy (sms, payments, etc). Think its doable.

    Second ray of hope is people just seem to copy what they see on this front. If there was common set of blueprints, I'm pretty confident people would use. My pricing guides have always sold well....people are starving for information and patterns.

  13. dret commented on Aug 1, 2017

    @dret
    ContributorAuthor
  14. kinlane commented on Aug 5, 2017

    @kinlane
    Contributor

    I would like to propose that APIs.json APIs humanURL evolves to become service-doc (4.1. The service-doc Link Relation Type) - The "service-doc" link relation type is used to represent the fact that a resource is part of a bigger set of resources that are documented at a specific URI. The target resource is expected to provide documentation that is primarily intended for human consumption.

    I'd like to add 4.2. The service-desc Link Relation Type The "service-desc" link relation type is used to represent the fact that a resource is part of a bigger set of resources that are described at a specific URI. The target resource is expected to provide a service description that is primarily intended for machine consumption. In many cases, it is provided in a representation that is consumed by tools, code libraries, or similar components. -- consolidating swagger, and other macine readable types into a first class service-desc link for each API.

  15. kinlane commented on Aug 5, 2017

    @kinlane
    Contributor

    I'd love to hear other folks thoughts on JSON Home's notion of the hint vs link relation. I like the notion of hints, some seem technical, while others more human.

  16. dret commented on Aug 6, 2017

    @dret
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions