Git Product home page Git Product logo

api's People

Contributors

crufter avatar jeremyletang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

api's Issues

Update access control to public snippet

For now access control to public snippet is made using a flobal map directly in the go code. Thismake the api nor stateless. We neesto move this functionality to mysql.

Implements private snippets

This is composed of the following task:

  • improve current http api to specify the private things in the request body
  • save organizations informations in elastic search associated to the snippets

Access control policiy

Currently access control apply to any kind of update/create snippet. This means that the user is limited to something like 50 edit or create snipper per day, and this restriction apply to public/owned/organization snippets.
We may need to change this behavior, and apply restrictions only on public snippets.
@anas10, @crufter any thought ?

Add stat middleware to all endpoint

This endpoint will allow us to collect usage informations about our api. Nothingto track ou user. But at leastwe want to know the how many people areuainf each version of the api in order to calculate the impact of possible changes or deprecation for a specific version

Add auto-completion to snippets titles

The web app may need in the future some kind of auto-completion on snippets titles.
We need to decide if auto completion must apply on Public / user only / organization snippet, by specifying explicitly one, or on all the content accessible by the user.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.