platform icon indicating copy to clipboard operation
platform copied to clipboard

Does huly have API?

Open FromNetToDev opened this issue 1 year ago • 7 comments

is there an API where I can read it? Any documentation on API or webhook?

FromNetToDev avatar Oct 20 '24 10:10 FromNetToDev

I need too.

Horoli avatar Oct 21 '24 06:10 Horoli

  • 1 !!

pat-mw avatar Oct 22 '24 01:10 pat-mw

What you guys are building here is great, amazing work.

I just wanted to add to this discussion about API's to say that I think the number one missing feature for me for adopting a product like Huly in my business would be the lack of an API to pull out time records and bill them with accounting software. It's difficult to move to any project management system as a consultancy that doesn't have robustly query-able (via API) time records.

I'm sure its on your roadmap, but thought I'd mention it anyway. Good luck moving towards your 1.0

tyler-wright avatar Oct 22 '24 01:10 tyler-wright

I'd love to build a vscode extension for time tracking 👌

ikethepike avatar Oct 24 '24 16:10 ikethepike

+1

clomads avatar Oct 30 '24 00:10 clomads

Definitely something that would help a lot!

squintdev avatar Oct 31 '24 01:10 squintdev

+1

rybkinevg avatar Nov 02 '24 13:11 rybkinevg

same here!! Please give us an update if you plan to implement it :)

bls-media avatar Nov 16 '24 18:11 bls-media

We have released a new package which is an API client to Huly platform. The client exposes methods to connect and interact with the core Huly functionality. You can find usage examples in our repository: https://github.com/hcengineering/huly-examples/tree/main/platform-api

lexiv0re avatar Nov 18 '24 08:11 lexiv0re

Beyond those examples, is there going to be more detailed documentation over all the available API and eventually some public REST endpoints with OpenAPI documentation?

szawadski avatar Nov 26 '24 10:11 szawadski

This project does need a REST API out of the box

mydnic avatar Nov 26 '24 12:11 mydnic

Could be amazing to have a clean API doc.

A good inspiration is Dokploy https://docs.dokploy.com/ with their API approach https://docs.dokploy.com/docs/api -> everything in the interface can be done through the API.

nathan-de-pachtere avatar Dec 15 '24 16:12 nathan-de-pachtere

Too bad. That's a deal breaker for us as it would be the only of the services we use without an API and we do not have a use for an island solution. Thanks for the work tough.

franz-josef-kaiser avatar Jan 25 '25 20:01 franz-josef-kaiser

+1

The Web API should be accessible outside of JS context even though @hcengineering/api-client is cool and has nice features. I also don't really like the fact that @hcengineering/api-client uses username/password credentials for authentication. Having at least web tokens, API key or OIDC support should be a minimum.

wafelmolt avatar Mar 24 '25 13:03 wafelmolt

We have released a new package which is an API client to Huly platform. The client exposes methods to connect and interact with the core Huly functionality. You can find usage examples in our repository: https://github.com/hcengineering/huly-examples/tree/main/platform-api

I am getting this error, is the package published on npm?

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@hcengineering%2fapi-client - Not found
npm ERR! 404 
npm ERR! 404  '@hcengineering/api-client@*' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-04-30T16_19_55_538Z-debug-0.log

onyedikachi-david avatar Apr 30 '25 16:04 onyedikachi-david

@onyedikachi-david package seams hosted on github registry : https://github.com/hcengineering/platform/pkgs/npm/api-client

Please try to not pollute issues. Next time, open a dedicated one.

wafelmolt avatar May 01 '25 18:05 wafelmolt

I am using a self-hosted instance of Huly with SSO auth. The user does not have a password. I can't find a way in the Huly interface to create a token for use in the api-client. Please explain to me how to create a token for the API.

chudnyi avatar Sep 26 '25 06:09 chudnyi

Please tell me how to get an api token

chudnyi avatar Nov 03 '25 08:11 chudnyi