Post

1 follower Follow
0
Avatar

Private API? Capabilities?

I'm wondering how I might build a private app which uses the API, and if the API can update custom fields in custom built apps?

What I want to do is use gitlab on my server, and when a commit contains something like:

[completed:19]

I want to set the status of a custom app item with id '19' to 'completed'.

But when I tried to sign up for a key, it asks for a publicly accessible domain name. Can I have a key without this, so I can authenticate myself and use the API in a privately?

Thanks for the help.

Damien Roche Answered

Please sign in to leave a comment.

6 comments

0
Avatar

Hi Damien,

Fill in any domain name you control or use 'localhost' as your domain name. The domain linked to each key is used when authenticating the server-side flow. In your case you will not the using the server-side authentication flow so it doesn't matter.

What you're proposing is absolutely doable. We have something similar running internally at Podio to close issues in our issue tracker.

You will want to start by looking at the authentication options (I think app authentication makes most sense for you): https://developers.podio.com/authentication 

And then you can dig into the various options for working with items: https://developers.podio.com/examples/items and https://developers.podio.com/doc/items

Andreas Haugstrup Pedersen 0 votes
Comment actions Permalink
0
Avatar

Excellent. Thanks Andreas! Now I know it is achievable, I'll dig in :)

Damien Roche 0 votes
Comment actions Permalink
0
Avatar

Definitely feel free to come back with more questions or just to brag about your accomplishment :)

Andreas Haugstrup Pedersen 0 votes
Comment actions Permalink
0
Avatar

If it's only a single app then using an app-token and avoiding an OAuth callback (I think - been a while since I used one) might be easiest. 

Nick Barnwell 0 votes
Comment actions Permalink
0
Avatar

If it's only a single app then using an app-token and avoiding an OAuth callback (I think - been a while since I used one) might be easiest. 

Nick Barnwell 0 votes
Comment actions Permalink