thejumpcloud / jcapi-go Goto Github PK
View Code? Open in Web Editor NEWGo
Go
Hi,
Would it be possible to expose the EC2 instance ID when listing systems?
I have a need to find a system based on it's EC2 instance ID, but I don't think I'm able to do that via the API. Please correct me if I'm wrong.
is this still active?
I have been trying hard to figure out the format for the filter field and can not figure it out. I continue to get improperly formatted filter: name
when trying to use https://github.com/TheJumpCloud/jcapi-go/blob/master/v2/docs/UserGroupsApi.md#groupsuserlist. Can you please provide how to actually format the filter? The docs for the API make no reference to filter format except for mongodb post body format, but this is a query string filter.
This is what I am trying as optional params to the call:
filter := map[string]interface{}{
"filter": []string{"name eq value"},
}
It would be super helpful to have some better clarification in the docs on this.
Hi Team, hopefully this is right place to ask, if not, I'd appreciate if you can direct me.
I'm the founder of cloudquery.io, a high performance open source ELT framework.
Our users are interested in a JumpCloud plugin, but as we cannot maintain all the plugins ourselves, I was curious if this would be an interesting collaboration, where we would help implement an initial source plugin, and you will help maintain it.
This will give your users the ability to sync JumpCloud data (Users, Config, ...) to any of their datalakes/data-warehouses/databases easily using any of the growing list of CQ destination plugins.
Best,
Yevgeny
Hi! I want to get the organization settings (https://docs.jumpcloud.com/api/1.0/index.html#tag/Organizations/operation/organizations_get), but I didn't find any SDK method for doing this. Is there any method available there to GET the organization data, including the settings?
Hi. I wan't to get auth policies( https://console.jumpcloud.com/api/v2/authn/policies), but SDK does not contain method for doing this. Can you please add it?
Also i see that SDK is auto generated from the swagger docs. And it seems that the docs are just outdated and you need to update it and regenerate SDK.
Hi,
I'm running into an issue when trying to delete a system
accept := "application/json"
client1 := jcapiv1.NewAPIClient(jcapiv1.NewConfiguration())
auth1 := context.WithValue(context.TODO(), jcapiv1.ContextAPIKey, jcapiv1.APIKey{
Key: os.Getenv("JUMPCLOUD_API_KEY"),
})
_, _, err := client1.SystemsApi.SystemsDelete(auth1, "123456789", contentType, accept, nil)
if err != nil {
helpers.LogFatalError(err)
}```
`json: cannot unmarshal object into Go struct field System.sshdParams of type string
exit status 1`
For now I'll just have to ignore `err`.
Similar to TheJumpCloud/jcapi-python#40, please add a open source license to the repo. If a repository has no license, then all rights are reserved and it is not Open Source or Free. You cannot modify or redistribute this code without explicit permission from the copyright holder.
We have license compliance checks in place and thus can't use libraries without explicit open source licenses. And the license scan happen already in the pull/merge request and deny it.
From GitHub's licensing help page:
You're under no obligation to choose a license. However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license. The Open Source Guide provides additional guidance on choosing the correct license for your project.
Note: If you publish your source code in a public repository on GitHub, according to the Terms of Service, other GitHub users have the right to view and fork your repository within the GitHub site. If you have already created a public repository and no longer want users to have access to it, you can make your repository private. When you convert a public repository to a private repository, existing forks or local copies created by other users will still exist.
Hi guys.
Can you please provide a working example of using SearchApi, specifically SearchSystemusersPost?
When I tried to use it like
optionals := map[string]interface{}{
"body": jcApi1.Search{
Filter: "[\"email\": \"" + email + "\"]",
},
}
users, _, err := jcAPIv1.SearchApi.SearchSystemusersPost(ctx, contentType, accept, optionals)
It produces this request body:
{"filter":"[\"email\": \"[email protected]\"]"}
but I expect:
{"filter": [{"email" : "[email protected]"}]}
Probably I'm using it wrong. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.