Implementation Report

Microlight

by Tom Gardiner / TomboFry

Programming Language: PHP

1 Discovering the Micropub endpoint given the profile URL of a user
2 Authenticating requests by including the access token in the HTTP Authorization header
3 Authenticating requests by including the access token in the post body for x-www-form-urlencoded requests
4 Limiting the ability to create posts given an access token by requiring that the access token contain at least one OAuth 2.0 scope value
5 Creating a post using x-www-form-urlencoded syntax with one or more properties
6 Creating a post using JSON syntax with one or more properties
7 Creating a post using x-www-form-urlencoded syntax with multiple values of the same property name
8 Creating a post using JSON syntax with multiple values of the same property name
9   Creating a post using JSON syntax including a nested Microformats2 object
10 Uploading a file to the specified Media Endpoint
11 Creating a post with a file by sending the request as multipart/form-data to the Micropub endpoint
12 Creating a post with a photo referenced by URL
13   Creating a post with a photo referenced by URL that includes image alt text
14 Returning HTTP 201 Created and a Location header when creating a post
15   Returning HTTP 202 Created and a Location header when creating a post
16 Updating a post and replacing all values of a property
17 Updating a post and adding a value to a property
18 Updating a post and removing a value from a property
19 Updating a post and removing a property
20 Returning HTTP 200 OK when updating a post
21   Returning HTTP 201 Created when updating a post if the update cause the post URL to change
22   Returning HTTP 204 No Content when updating a post
23 Deleting a post using x-www-form-urlencoded syntax
24 Deleting a post using JSON syntax
25   Undeleting a post using x-www-form-urlencoded syntax
26   Undeleting a post using JSON syntax
27 Uploading a photo to the Media Endpoint and using the resulting URL when creating a post
28 Querying the Micropub endpoint with q=config to retrieve the Media Endpoint and syndication targets if specified
29 Querying the Micropub endpoint with q=syndicate-to to retrieve the list of syndication targets
30 Querying the Micropub endpoint for a post's source content without specifying a list of properties
31 Querying the Micropub endpoint for a post's source content looking only for specific properties
32 Creating a post using x-www-form-urlencoded syntax with a single value for a property that normally accepts multiple values
33 Updating a post and adding a property
34 Creating a post with HTML content