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 support for custom license in metadata API endpoint #934

Closed
greatislander opened this Issue Sep 11, 2017 · 0 comments

Comments

Projects
None yet
4 participants
@greatislander
Member

greatislander commented Sep 11, 2017

Prerequisites

Description

Currently, the metadata endpoint returns an URL value for license. We should change it to return an instance of CreativeWork as per the Schema specification with the following properties:

Steps to Reproduce

Not applicable.

System Information

Pressbooks: 4.2
WordPress: 4.8.1
PHP: 7.1

@greatislander greatislander added this to the 4.3 milestone Sep 11, 2017

@greatislander greatislander self-assigned this Sep 11, 2017

@connerbw connerbw assigned greatislander and unassigned connerbw Sep 12, 2017

greatislander added a commit that referenced this issue Sep 12, 2017

Add support for custom license text (fix #934) (#936)
* Add support for custom license text in API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment