Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upload a layer to project? #11

Open
silkinresearch opened this issue Aug 24, 2022 · 1 comment
Open

How to upload a layer to project? #11

silkinresearch opened this issue Aug 24, 2022 · 1 comment
Labels
Support request User has a problem and needs help

Comments

@silkinresearch
Copy link

Hello, I am trying to add a layer to project with creation. (I work with several projects and use the same layer). Is is possible to upload a layer (layer.json that I downloaded from another project) with creation of new project?

I am creating a project this way:

from pycaprio import Pycaprio
client = Pycaprio(inception_host, authentication)

new_project = client.api.create_project(
    project_name = "My_test_project", 
    creator_name = "My_name"
)
@reckart
Copy link
Member

reckart commented Aug 24, 2022

You can only set a hand full of parameters when creating a project through the "create_project" endpoint.

For more flexibility, you need to externally prepare a project ZIP file (e.g. by modifying a previously exported template project from INCEpTION) and then use the "import project" functionality. In the JSON file at the root of the project ZIP, you can configure everything including layers.

@reckart reckart added the Support request User has a problem and needs help label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support request User has a problem and needs help
Projects
None yet
Development

No branches or pull requests

2 participants