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

Enable the ability to negotiate the data profile via http, similar to the negotiation of data formats today. [ID30] (5.30) #265

Closed
nicholascar opened this issue Jun 27, 2018 · 11 comments
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days plenary-approved profile-negotiation requirement requires discussion Issue to be discussed in a telecon (group or plenary)

Comments

@nicholascar
Copy link
Contributor

Entered from Google Doc

@nicholascar nicholascar added requirement profile-guidance requires discussion Issue to be discussed in a telecon (group or plenary) content-negotiation labels Jun 27, 2018
@nicholascar nicholascar changed the title Requirement: Enable the ability to negotiate the metadata profile via http, similar to the negotiation of metadata formats today. [ID30] (5.30) Enable the ability to negotiate the metadata profile via http, similar to the negotiation of metadata formats today. [ID30] (5.30) Sep 1, 2018
@aisaac aisaac changed the title Enable the ability to negotiate the metadata profile via http, similar to the negotiation of metadata formats today. [ID30] (5.30) Enable the ability to negotiate the metadata profile via http, similar to the negotiation of data formats today. [ID30] (5.30) Oct 25, 2018
@aisaac
Copy link
Contributor

aisaac commented Oct 25, 2018

Oct 24 2018: changed metadata to data

@aisaac aisaac changed the title Enable the ability to negotiate the metadata profile via http, similar to the negotiation of data formats today. [ID30] (5.30) Enable the ability to negotiate the data profile via http, similar to the negotiation of data formats today. [ID30] (5.30) Oct 25, 2018
@nicholascar
Copy link
Contributor Author

I think this is more a Profile Guidance issue than it is a Profile Conneg one. At the conneg level, there's no distinction (for clients and servers) between data & metadata profiling but there certainly is/will be in Guidance.

@kcoyle
Copy link
Contributor

kcoyle commented Jan 9, 2019

@nicholascar I read this as the basic use case for content negotiation - negotiate (via http) based on profile, and I assumed that "data formats" = mime types.

@aisaac
Copy link
Contributor

aisaac commented Jan 9, 2019

I think I would second @kcoyle 's reading. In the original use case (Standard APIs for metadata profile negotiation [ID30]) the idea is that (DCAT-level) metadata about datasets can be obtained in different profiles. Which sounds like the basic motivation for negotiation by profile.

@nicholascar
Copy link
Contributor Author

OK, accepting the 'base case', do we need to do anything here then just yet? Do we perhaps indicate that this is a requirement on Profile Guidance and that Profile Guidance delegates the details to the Profile Conneg doc?

@aisaac
Copy link
Contributor

aisaac commented Jan 10, 2019

@nicholascar this sounds like a good approach. In general I like the idea of the Profile Guidance serving as entry points to the other Profiles documents.

@nicholascar
Copy link
Contributor Author

De-tagging as profile-negotiation as dealt with by its point of view

@nicholascar nicholascar added profile-negotiation due for closing Issue that is going to be closed if there are no objection within 6 days and removed profile-guidance labels Aug 6, 2019
@nicholascar
Copy link
Contributor Author

Re-tagged with profile-negotiation so the issue can still be found in relation to Conneg in perpetuity

@nicholascar
Copy link
Contributor Author

Closing after listing in plenary 2019-09-03 + 3-day wait period.

@kcoyle
Copy link
Contributor

kcoyle commented Sep 8, 2019

@nicholascar how was it dealt with in conneg? You need to record that in the closing comment.

@kcoyle kcoyle reopened this Sep 8, 2019
@nicholascar
Copy link
Contributor Author

@kcoyle and for all other readers:

The "ability to negotiate the data profile via http" of internet resources is the core concern of Content Negotiation by Profile. The approach is "similar to the negotiation of data formats today" in that where a content request by format (Media Type) is implemented with the requester including the HTTP header Accept in an HTTP request, a request for content via its profile conformance is implemented with clients supplying an Accept-Profile header. The response will try to honour that and indicate any profiles the response's resource representation conform to with a Content-Profile header, just as an Accept header would receive a Content-Type response.

This mechanism is detailed in the Content Negotiation by Profile Editors Draft and the Second Public Working Draft and is essentially unchanged between the two, although examples and other supporting information have been added.

Note that the Content Negotiation by Profile documents also describe another approach to negotiate for resources by data profile other than via HTTP: via Query String Arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days plenary-approved profile-negotiation requirement requires discussion Issue to be discussed in a telecon (group or plenary)
Projects
None yet
Development

No branches or pull requests

5 participants