Client: Team API akin to `keybase chat api`?

Created on 21 Sep 2017  路  4Comments  路  Source: keybase/client

Are there plans to introduce a command-line JSON team management API similar to keybase chat api?

I see that keybase team list-memberships takes a --json flag, and it would be great to expose a similar interface for all team management functionality via keybase team api or something similar.

Thanks!

Most helpful comment

We're working on it, thanks!

All 4 comments

We're working on it, thanks!

I see keybase team api as of my last update, thanks a ton for adding this!

@patrickxb there seems to be an error in keybase team api -m '{"method": "list-self-memberships"}'

the "teams" array contains one object per member of every team I am in...

It should be an array of objects where the number of objects = the number of teams I'm in.
If you want to put all users in there, make a "users" key in the subsequent team objects please.

@junderw I noticed this yesterday as well. I think something changed out from underneath list-self-memberships in the keybase team api command recently, as it wasn't doing that when I first wrote it.

I will make an internal ticket and we will fix it. Sorry for the inconvenience, there have been a lot of changes with team functionality recently.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hkjels picture hkjels  路  4Comments

kurianjacob picture kurianjacob  路  4Comments

heartwithyou picture heartwithyou  路  3Comments

qntmpkts picture qntmpkts  路  3Comments

lukefrasera picture lukefrasera  路  3Comments