client-python icon indicating copy to clipboard operation
client-python copied to clipboard

Placeholder Issue for pycti documentation

Open vikingSec opened this issue 1 year ago • 2 comments

Problem to Solve

The documentation for PyCTI is almost entirely lacking, so I'm creating this placeholder issue to track my contributions to it.

Current Workaround

Currently, the only "workaround" is to manually read the PyCTI code or the OpenCTI code to figure out what to do, which isn't great DevX/UX.

Proposed Solution

I'm going to work on documenting the endpoints, functions and classes as I work with them and provide examples. This issue can serve as a reference point for mine (and others) contributions.

Additional Information

Screenshot 2024-03-12 at 9 17 27 AM

vikingSec avatar Mar 12 '24 14:03 vikingSec

Bump, having documentation and examples would be a great help.

409H avatar May 13 '25 14:05 409H

I think the biggest problem with the documentation is that type hints are completely absent. This would greatly improve the quality of automatically generated documentation. Since this is effectively just a pythonic interface to the GraphQL API there is also not that much to 'document' on in my opinion. I've read issue #54 but it doesn't actually seem to have been implemented?

Of course this would be a huge undertaking, so I can imagine it not being the most fun thing to implement...

cochaviz avatar May 24 '25 17:05 cochaviz