Giter Site home page Giter Site logo

Delete and rename? about zulip-java-rest HOT 7 CLOSED

taliox avatar taliox commented on September 16, 2024
Delete and rename?

from zulip-java-rest.

Comments (7)

JonCSgr avatar JonCSgr commented on September 16, 2024 1

ok gotcha , sorry im still newbie . Figured it out . Will try to implement rename and delete

from zulip-java-rest.

raLaaaa avatar raLaaaa commented on September 16, 2024

Hey, could you show me you error? That would be helpful.

I think you are right currently the wrapper does not provide the possibility to update or delete streams.
I might add that in the future if I find time for that.

from zulip-java-rest.

JonCSgr avatar JonCSgr commented on September 16, 2024

Hey my bad here it is https://prnt.sc/vozjyn
Also since i need to use rename and delete i may try to develop them and of course share them with you , do u have any guide how to work with it since i never developed an API before (just graduated :P )

from zulip-java-rest.

raLaaaa avatar raLaaaa commented on September 16, 2024

Do you mind showing your JSON code? Looks like it's invalid.

Sure feel free to. Just fork the repository and add a class for updating / deleting streams in the stream package.
When looking at other files in that package I think it should be more or less self explanatory to add these :)

from zulip-java-rest.

JonCSgr avatar JonCSgr commented on September 16, 2024

Hey again , i think i am doing something really wrong in either adding attributes or in the parameters, here is the full code i am using
https://prnt.sc/vp1cxz

from zulip-java-rest.

raLaaaa avatar raLaaaa commented on September 16, 2024

I think the problem is that your principals is not valid JSON. Therefore your Zulip server cant interpret your parameters.
Could you checkout this page to get the correct format?

https://zulip.com/api/subscribe

from zulip-java-rest.

raLaaaa avatar raLaaaa commented on September 16, 2024

No problem! Dont hesitate to ask if you got problems.

from zulip-java-rest.

Related Issues (6)

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.