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

Api docs v2 #1641

Merged
merged 5 commits into from
Nov 15, 2016
Merged

Api docs v2 #1641

merged 5 commits into from
Nov 15, 2016

Conversation

technoweenie
Copy link
Contributor

@technoweenie technoweenie commented Nov 10, 2016

This is a major reorganization of the API docs. Here's what I did:

  • Removed relevant auth and config info from the spec.
  • Ignored legacy API stuff
  • Collapsed the Batch API v1 and v1.3 specs. The properties added in v1.3 are all optional.
  • Added an Authentication page.
  • Added a Server Discovery page.
  • Added a Batch API page.
  • Updated the API readme to be a table of contents for the various pages.

View the rendered markdown.

TODO:

  • Document basic transfer adapter
  • Add json schema references
  • Remove or unlink old docs

@technoweenie technoweenie added this to the v2.0.0 milestone Nov 10, 2016
Copy link
Contributor

@ttaylorr ttaylorr left a comment

Choose a reason for hiding this comment

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

This looks really great. Merge at will!

@technoweenie technoweenie merged commit 5e48c70 into master Nov 15, 2016
@technoweenie technoweenie deleted the api-docs-v2 branch November 15, 2016 21:34
chrisd8088 added a commit to chrisd8088/git-lfs that referenced this pull request Oct 16, 2023
Our Server Discovery documentation describes how we form Git LFS
server API endpoint URLs based on Git remotes and other Git and Git LFS
configurations.  This documentation was introduced in commit
21e1695 of PR git-lfs#1641 and has only
been lightly modified since then.

As discusssed in issue git-lfs#5528, we append "/info/lfs" to Git remote URLs,
but only after rewriting those URLs according to any "url.{name}.insteadOf"
configurations, which is somewhat counter to what is implied by Git's
own documentation of these settings.  We may change this behaviour
in a future Git LFS major release.  For the present, though, we simply
add a fuller description of how we convert Git remote URLs into Git LFS
API server URLs to our documentation, specifically touching on the
sequence in which we rewrite, convert, and append the "/info/lfs"
path segments to the remote URLs.

In PR git-lfs#3748 we added support for Git LFS endpoints defined by "file://"
URLs, and in PR git-lfs#3918 we enhanced this by also accepting local file paths
in remote URLs, so we also include comments on how we handle these
cases in our new documentation.

Further, although support for distinct URLs used only for upload operations
has existed since PR git-lfs#949, it is not mentioned in our Server Discovery
documentation, so we add notes on this feature now as well.

4469 - default remotes (lfsdefault, lfspushdefault)
5066 - autodetect, searchall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants