Also, the docs are confusing for create_repo:
api_key : "<api_key>"
method : "create_repo"
args: {
"name" : "<name>",
"owner_name" : "<ownername>",
"description" : "<description> = ''",
"repo_type" : "<type> = 'hg'",
"private" : "<bool> = False"
}
Should be:
"
api_key : "<api_key>"
method : "create_repo"
args: {
"name" : "<name>",
"owner_name" : "<ownername>",
"description" : "<description> = ''",
"repo_type" : "<repo_type>",
"private" : "<bool>"
}
repo_type allowed aliases are 'git', 'hg'
bool is either 0 or 1, not false or true.
Thanks,
Matt
On Jan 12, 10:33 am, mbrownnyc <
matthewbr...@gmail.com> wrote:
> One last question, Marcin:
>
> Is it possible to reveal the API key of a user who curls a page at run
> time?
>
> For instance:
>
> curlhttps://mbrown@server/rhodecode/_admin/apikey