Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Rename /latest endpoint to /json #173

Merged
merged 2 commits into from
Oct 24, 2017

Conversation

lukebjerring
Copy link
Collaborator

Considering /latest might make more sense with respect to #172, /json is a more appropriate endpoint name for fetching the JSON blob of a given run (for #161)

/cc @JKereliuk

@lukebjerring lukebjerring requested a review from jeffcarp October 24, 2017 19:35
Copy link
Collaborator

@kereliuk kereliuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My go skills are minimal, but this looks good to me!

//
// Params:
// platform: Browser (and OS) of the run, e.g. "chrome-63.0" or "safari"
// (optional) run: SHA[0:10] of the test run
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should mention it defaults to "latest"

Copy link
Contributor

@jeffcarp jeffcarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but looks like it needs a rebase

@lukebjerring lukebjerring merged commit 30266a8 into web-platform-tests:master Oct 24, 2017
@lukebjerring
Copy link
Collaborator Author

Note that I wanted both commits, unsquashed, because file renames and modifications in the same commit doesn't get handled well in Git.

@lukebjerring lukebjerring deleted the json branch October 24, 2017 22:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants