Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Gill
Participant

Unable to publish all sessions using web service - endpoint not implemented

Hey,

I am trying to publish all changes from all sessions using the publish command:

https://sc1.checkpoint.com/documents/latest/APIs/#web/publish~v1.6%20

I read in the documentation that I can add to the request body the Session unique identifier, to publish a different session than the one I currently use. 

 

My request:

requests.post('https://xx.xx.xx.xx:4434/web_api/publish', headers=headers,
json={'uid': '0701...-...-...'}).json()

My response:

{'code': 'not_implemented', 'message': 'Publishing other than current session is not implemented'}

 

Is it really not implemented and the documentation is wrong, or am I doing something wrong? 

Thanks!

1 Reply
marizaga
Explorer

I ran into the same problem, there must be something wrong on documentation, because uid of current session does not work too.

 

I tried with blank and no data on body, and it says: \"message\" : \"Payload is null\"\. But in example the body is empty.

My case i'm using R80.20 api version 1.3.

 

Regards

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events