GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - datatogether/api: Serves the Data Together JSON API

This repository was archived by the owner on Nov 5, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

93 Commits
93 Commits

Folders and files

NameName
Last commit message
Last commit date
.circleci
.circleci
 
 
.github
.github
 
 
Godeps
Godeps
 
 
apiutil
apiutil
 
 
docs
docs
 
 
public
public
 
 
sql
sql
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
auth.go
auth.go
 
 
collection_handlers.go
collection_handlers.go
 
 
collections_requests.go
collections_requests.go
 
 
config.go
config.go
 
 
coverage_handlers.go
coverage_handlers.go
 
 
custom_crawl_handlers.go
custom_crawl_handlers.go
 
 
custom_crawl_requests.go
custom_crawl_requests.go
 
 
docker-compose.yml
docker-compose.yml
 
 
handlers.go
handlers.go
 
 
main_test.go
main_test.go
 
 
middleware.go
middleware.go
 
 
open_api.yaml
open_api.yaml
 
 
primer_handlers.go
primer_handlers.go
 
 
primer_requests.go
primer_requests.go
 
 
repository_handlers.go
repository_handlers.go
 
 
server.go
server.go
 
 
server_test.go
server_test.go
 
 
source_handlers.go
source_handlers.go
 
 
source_requests.go
source_requests.go
 
 
transports.go
transports.go
 
 
uncrawlable_handlers.go
uncrawlable_handlers.go
 
 
uncrawlable_requests.go
uncrawlable_requests.go
 
 
url_handlers.go
url_handlers.go
 
 
url_requests.go
url_requests.go
 
 
user_handlers.go
user_handlers.go
 
 

Repository files navigation

Data Together API

GitHub Slack License

Serves the Data Together JSON API.

This component in isolation doesn't do much, but when connected to the project as a whole it provides a variety of endpoints over https, which can be used to extract information from the Data Together database.

API Documentation: https://api.archivers.co/docs/

License & Copyright

Copyright (C) 2017 Data Together This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3.0.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the LICENSE file for details.

Getting Involved

We would love involvement from more people! If you notice any errors or would like to submit changes, please see our Contributing Guidelines.

We use GitHub issues for tracking bugs and feature requests and Pull Requests (PRs) for submitting changes

Installation and Local Deployment

  • install docker and docker-compose
    • if you are new to docker, you may want to test your install with the default test case
  • in the project directory, run ``docker-compose build && docker-compose up`
  • the API should now be running at http://localhost:3200/, and the following endpoints should work:
    • http://localhost:3200/urls for a list of URL's in the database
    • http://localhost:3200/urls/{id} for an indivudual URL
    • http://localhost:3200/primers for a list of primers
    • http://localhost:3200/users for a list of users
    • http://localhost:3200/users/{id} for an individual user
    • http://localhost:3200/primers for a list of primers
    • http://localhost:3200/primers/{id} for an individual primer
    • http://localhost:3200/sources for a list of data sources
    • http://localhost:3200/sources/{id} for an individual source
    • http://localhost:3200/repositories for a list of repositories
    • http://localhost:3200/repository/{id} for an in ndividual repository
    • http://localhost:3200/coverage for a coverage tree associated with root URLs
    • http://localhost:3200/collections for a list of collections
    • http://localhost:3200/collections/{id} for an individual collectoin see below for more information

Generating Documentation

The API documentation is OpenAPI/Swagger compliant and is generated by the spectacle node module. You will likely want to explore these docs, so you should generate them!

  1. Install spectacle with npm -g install spectacle-docs
  2. To dynamically generate API docs as you work, run spectacle -d open_api.yaml and edit open_api.yaml to see changes
  3. Generate Static docs with spectacle open_api.yaml
  4. Commit. Rinse. Repeat.

Development

Right now modifying & updating code is a huge pain, but this is at least a start.

About

Serves the Data Together JSON API

api.archivers.co/docs/

Topics

apigolangjsonservice

Resources

Readme
AGPL-3.0 license

Contributing

Contributing
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.