Help with old V1 API?

Hello,

Is anyone familiar (or have documentation) for the old V1 (private) API’s?

Specifically I’m confused by this endpoint
https://{{ORG}}.api.identitynow.com//cc/api/source/update/{{SourceNum}}

You use ‘Content-Type: application/x-www-form-urlencoded’
And all the keys are prefaced with connector_

So… for example, if I have a key of connector_fake and a value of 1
that creates “fake”: “1”

and if I have a key of connector_(boolean)fake and a value of 1
that creates “fake”: false

and if I have a key of connector_(List<String>)fake and a value of 1
that creates “fake”: [“1”]

BUT, where I’m stuck is, how do I create “fake”: 1
(without the double quotes around it)
I tried several things and I’m mostly just guessing, but maybe I’m just missing something obvious to others.

Hi William,

Is there a reason you need to use the /cc API? We have a robust collection of v3 APIs for sources. Sources | SailPoint Developer Community.

Yeah, you’re right. I don’t know why I was trying the old way. Just trying to learn it all I guess.

The new way, I was able to set a number just by doing
patch to https://{{ORG}}.api.identitynow.com/v3/sources/{{SourceNum}}

[
  {
    "op": "replace",
    "path": "/connectorAttributes/fake",
    "value": 1
  }
]