Set app title; register app API

#1

Hi folks ! :slightly_smiling_face:
i want to create app with API
i’m using my python script for this :rocket:
I have a problem with app title
api requests executes succefully hough.
I was asuming that app name is git repo slug. but it doesn’t work
can you help me please how to set correct app title
here is my script . i want app title to be appName but it always has title My_REPO
# register app
URL_register = “https://api.bitrise.io/v0.1/apps/register
appName = sys.argv[1]
registerPayload = {
‘provider’: ‘github’,
‘is_public’: ‘false’,
‘repo_url’: ‘git@github.com:org/My_REPO.git’,
‘type’: ‘git’,
‘git_repo_slug’: appName,
‘title’: appName,
‘git_owner’: ‘org’,
‘organization_slug’: ‘<123slug>’
}

0 Likes

#2

Hello there @roma-herman!

The title of the app added via the api will always be the name of the repository. The exact inputs for registering a new app can be found here: https://api-docs.bitrise.io/#/app-setup/app-create

Where are you getting the rest of the inputs that are not listed here? :slight_smile:

0 Likes

#3

Hello @Roland-Bak
Thanks for your reply and clarification

I was trying to send title in payload in hope that maybe documentation doesn’t mention it but it’s possible to do so

Unfortunately I have repository which contains a lot of apps and for me title derived from repo nema doesn’t work
would be cool to have option to specify title separately.

0 Likes

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes