GithubHelp home page GithubHelp logo

Comments (5)

killing avatar killing commented on May 29, 2024

We'll add documentation about the API of notification server.

from seafile.

FluffyDiscord avatar FluffyDiscord commented on May 29, 2024

We'll add documentation about the API of notification server.

I am afraid to ask - will the documentation be available by the end of this year? I would like to surprise my friends on Christmas or at lest New year.

from seafile.

FluffyDiscord avatar FluffyDiscord commented on May 29, 2024

Any news please? Just a simple example/explanation would do. I think I can do the rest.

from seafile.

feiniks avatar feiniks commented on May 29, 2024

Any news please? Just a simple example/explanation would do. I think I can do the rest.

Hello @FluffyDiscord , if you have deployed seafile locally and the fileserver port is 8082, you can follow these steps to get a jwt-token:


1. curl -d 'username=useremail&password=password' http://127.0.0.1:8000/api2/auth-token/ Get a user token `use_token`.
2. curl -H 'Authorization: Token {user_token}' http://127.0.0.1:8000/api2/repos/{repo_id}/download-info/ Get a library sync token `repo_token`.
3. curl -H 'Seafile-Repo-Token: {repo_token}' http://127.0.0.1:8082/repo/{repo_id}/jwt-token Get jwt-token.

from seafile.

FluffyDiscord avatar FluffyDiscord commented on May 29, 2024

Thanks! could not find the second step

from seafile.

Related Issues (20)

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.