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

Add `application/ld+json` as requirement for servers #86

Closed
akuckartz opened this Issue Mar 23, 2015 · 11 comments

Comments

Projects
None yet
5 participants
@akuckartz

akuckartz commented Mar 23, 2015

I suggest to add a requirement for servers to provide media type application/ld+json in addition to application/activity+json. That would help those with an RDF view of the world without costing much for those with a non-RDF view.

See also #52 and #53.

@jasnell

This comment has been minimized.

Show comment
Hide comment
@jasnell

jasnell May 7, 2015

Collaborator

Is this specifically for the API?

Collaborator

jasnell commented May 7, 2015

Is this specifically for the API?

@akuckartz

This comment has been minimized.

Show comment
Hide comment
@akuckartz

akuckartz May 10, 2015

Well, yes, but new media types are specified in the AS2 specification. For that reason I suggest to also explain the use of the JSON-LD media type in the same section of the spec.

akuckartz commented May 10, 2015

Well, yes, but new media types are specified in the AS2 specification. For that reason I suggest to also explain the use of the JSON-LD media type in the same section of the spec.

@jasnell

This comment has been minimized.

Show comment
Hide comment
@jasnell

jasnell May 26, 2015

Collaborator

A PR would be welcome but I'm not convinced that this is useful from an interop point of view. What specific requirements would you expect? For instance, a document served as "application/activity+json" has an implied default context document if the @context field happens to be missing. A document served as "application/ld+json" would not carry the same assumption. Likewise, a document served as "application/activity+json" has the requirement that it must be in json-ld compact form using, at least, the normative AS2 @context document. A document served as "application/ld+json" could be any valid JSON-LD form, including expanded.

Collaborator

jasnell commented May 26, 2015

A PR would be welcome but I'm not convinced that this is useful from an interop point of view. What specific requirements would you expect? For instance, a document served as "application/activity+json" has an implied default context document if the @context field happens to be missing. A document served as "application/ld+json" would not carry the same assumption. Likewise, a document served as "application/activity+json" has the requirement that it must be in json-ld compact form using, at least, the normative AS2 @context document. A document served as "application/ld+json" could be any valid JSON-LD form, including expanded.

@akuckartz

This comment has been minimized.

Show comment
Hide comment
@akuckartz

akuckartz May 27, 2015

I will attempt to provide a PR or more details.

akuckartz commented May 27, 2015

I will attempt to provide a PR or more details.

@jasnell

This comment has been minimized.

Show comment
Hide comment
@jasnell

jasnell Jun 3, 2015

Collaborator

@akuckartz ... just pinging... are you still expecting to do a PR?

Collaborator

jasnell commented Jun 3, 2015

@akuckartz ... just pinging... are you still expecting to do a PR?

@akuckartz

This comment has been minimized.

Show comment
Hide comment
@akuckartz

akuckartz Jun 3, 2015

are you still expecting to do a PR?

Yes, at least I will propose some text for discussion. Sorry for being slow.

akuckartz commented Jun 3, 2015

are you still expecting to do a PR?

Yes, at least I will propose some text for discussion. Sorry for being slow.

@elf-pavlik

This comment has been minimized.

Show comment
Hide comment
@elf-pavlik

elf-pavlik Jul 7, 2015

Member

#132 looks relevant as it discusses implied by media types contexts

Member

elf-pavlik commented Jul 7, 2015

#132 looks relevant as it discusses implied by media types contexts

@jasnell

This comment has been minimized.

Show comment
Hide comment
@jasnell

jasnell Jul 7, 2015

Collaborator

RESOLVED on conf call: close this with no action

Collaborator

jasnell commented Jul 7, 2015

RESOLVED on conf call: close this with no action

@jasnell jasnell closed this Jul 7, 2015

@melvincarvalho

This comment has been minimized.

Show comment
Hide comment
@melvincarvalho

melvincarvalho Jul 7, 2015

I could be wrong but I am unsure SoLiD apps will work with a non standard MIME type. Could this be proposed for AS3, or something?

melvincarvalho commented Jul 7, 2015

I could be wrong but I am unsure SoLiD apps will work with a non standard MIME type. Could this be proposed for AS3, or something?

@akuckartz

This comment has been minimized.

Show comment
Hide comment
@akuckartz

akuckartz Jul 8, 2015

@melvincarvalho That is one of the problems which I see. Having to support a new media type makes it significantly more difficult to use existing LD software.

I have not yet read the minutes of the call, but maybe we "only" need to provide a reasonable pull request.

akuckartz commented Jul 8, 2015

@melvincarvalho That is one of the problems which I see. Having to support a new media type makes it significantly more difficult to use existing LD software.

I have not yet read the minutes of the call, but maybe we "only" need to provide a reasonable pull request.

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