Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting standard link relations #70

Open
dret opened this issue Jul 11, 2017 · 16 comments
Open

supporting standard link relations #70

dret opened this issue Jul 11, 2017 · 16 comments
Labels

Comments

@dret
Copy link
Contributor

dret commented Jul 11, 2017

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

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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

@kinlane kinlane added the roadmap label Aug 1, 2017
@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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.

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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/

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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. ;-)

@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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

@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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

@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@kinlane
Copy link
Contributor

kinlane commented Aug 1, 2017

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.

@dret
Copy link
Contributor Author

dret commented Aug 1, 2017 via email

@kinlane
Copy link
Contributor

kinlane commented Aug 5, 2017

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.

@kinlane
Copy link
Contributor

kinlane commented Aug 5, 2017

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.

@dret
Copy link
Contributor Author

dret commented Aug 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants