how to create project using public API




any example on how to create project using REST API , referred <https://doc.dataiku.com/dss/api/7.0/rest/> 

 

tried to access API it works but when i tried to use /public/api/projects/get-summary?projectKey=A getting 

 

HTTP ERROR 405


Problem accessing /dip/publicapi/projects/get-summary. Reason:


```
    Request method 'GET' not supported
```
Hi,


Yes this is the correct way to do it.


 


Since your Python issue is unrelated, please make sure to open another topic. Please keep each discussion on a single topic.




[View solution in original post](/t5/Using-Dataiku/how-to-create-project-using-public-API/m-p/7923#M4205)
your link leads to an inactive developer message btw.

rest does not yet provide a way to list tags except by id. you can use the standard api with the same oauth2 access key that you would use for rest… using the data object you would want to query on the group table using the groupname field. Please create an account and send us a private message with the detailed project requirements here -> <https://cpentalk.com/message/cpentalk>  
  
Best regards! [image] paulaniculaesei:

but if i make from vs code a new branch , why i can’t open a pull request?

because you need to push the branch to somewhere public first. you can’t push your branch to someone else’s repository, so you need your own (a fork in github terms). You will want to look at the httpwebrequest class and its methods. You can feed it a URL and get back the source (page) to do with as you will. The MSDN articles that come up of you google httpwebrequest will help you. > how can I access the getStick() method defined within the chopStick class
> 
> 


To access any part of an instance of a class, you need a reference to that instance.  

Some where you create an instance:  

AnObject aRef= new AnObject(); // create an instance and set reference to that object



then you need to make that reference available where you want to call its methods:  

aRef.aMethod(); // call a method in the AnObject class was caused because there was an "unhandled rejection error: eacces: permission denied, mkdir '/home//.npm/\_cache/index-<…>/

solved problem by just adding “sudo” in front

sudo npx create-react-app . you can use dedicated package for azure:

[image]

and grab key with this activity:

[image]

there’s no direct way to push key to dataservice. this must be done by taking it from azure and push to dataservice using dedicated packages. more information about dataservice and entities are here:

… I have the same problem and added this to the DbContext:



```
private void PrintStackTrace()
{
  var st = new StackTrace();
  foreach (var sf in st.GetFrames())
    Console.WriteLine($"{sf.GetMethod().DeclaringType.Assembly.GetName().Name} {sf.GetMethod().DeclaringType.Name} {sf.GetMethod().Name}");
}

```

and call this function in the contructor and Dispose of the DbContext.


It seems to be a problem, if the DbContext is added with scoped lifetime to the dependency injection. I filed an issue for that.


<https://github.com/aspnet/EntityFrameworkCore/issues/10693> hi, [@nana-kwame](/u/nana-kwame), is this create react app (cra)? if so, i think \_redirects needs to be in the directory public which will copy it unchanged to the publish directory (which is build for this site).

this is based on this documentation for cra:

[image]

[create react app · set up a modern web …](https://create-react-app.dev/docs/using-the-public-folder/#adding-assets-outside-of-the-module-system) you could use on-demand tls with local certs if you don’t know ahead of time which ip the request will come from:

tls internal {

on\_demand

}

[image]

[tls (caddyfile directive) - caddy documentation](https://caddyserver.com/docs/caddyfile/directives/tls)

caddy is a powerful, enterprise-ready, open source web server with automatic https writ…