Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. Mass Ingestion Files REST API
  7. Mass Ingestion Streaming REST API
  8. RunAJob utility
  9. ParamSetCli utility
  10. REST API codes
  11. REST API resource quick references

REST API Reference

REST API Reference

commit

commit

Use the commit resource to retrieve details about a commit from your repository.

GET request

To get the details for a commit, include the commit hash in the following URI:
/public/core/v3/commit/<commitHash>

GET response

If successful, a GET request returns the following information:
Field
Type
Description
hash
String
Unique identifier for the commit. You can use this value in a pullByCommitHash request.
summary
String
Summary associated with the commit hash.
description
String
Detailed description associated with the commit hash.
username
String
Name of the user who performed the commit.
email
String
Email address of the user who performed the commit.
date
Date
The timestamp when the commit was submitted in the following format:
yyyy-MM-dd'T'HH:mm:ss.SSSZ
committer
String
The Git user who filed the commit.
changes
List <Object>
Contains change details for each object included in the commit.
id
String
Included in the changes object.
Global unique identifier for the object.
Included if the object currently exists in your organization.
appContextId
String
Included in the changes object.
ID of the object in context, used in REST API version 2 calls.
Included if the object currently exists in your organization.
name
String
Included in the changes object.
Name of the asset, project, or folder.
type
String
Included in the changes object.
Type of object.
path
List <String>
Included in the changes object.
Full path of the object.
oldPath
List <String>
Included in the changes object.
Remote repository path for the object before the commit. Included when the object was moved or renamed.
action
String
Included in the changes object.
Indicates the type of changes made to the object during the commit. Includes one of the following values:
  • ADDED
  • DELETED
  • MODIFIED
  • MOVED

GET response example

A GET response might look like the following example:
{ "hash": "aca30f6c44de9bef23db59ed16967653481c5e23", "summary": "Update. ", "description": "Restructured and updated.", "username": "testuser", "email": "user@gmail.com", "date": "2019-05-13T17:50:46.000Z" "committer": "Alexander Freeman", "changes": [ { "id": "5G15DJ19Fw3j20XGL6oooL", "appContextId": "N0A1700000000001J", "name": "Mapping1", "type": "DTEMPLATE", "path": ["Versioned_Project2","Mapping1"], "action": "MODIFIED" }, { "id": "2jFxl7stzKgi3lKAtVpWi3", "appContextId": "N0A17000000003A02", "name": "Versioned_Project", "type": "Project", "path": ["Versioned_Project"], "action": "ADDED" }, { "id": "k3SYVglqhAafSWHuQuZdm1", "appContextId": "N0F17000000000291", "name": "Versioned_Folder", "type": "Folder", "path": ["Versioned_Project", "Versioned_Folder"], "oldPath": ["Versioned_Project", "Test_Folder"], "action": "MOVED" }, { "id": null, "appContextId": null, "name": "Mapping2", "type": "DTEMPLATE", "path": ["Versioned_Project2","Mapping2"], "action": "DELETED" } ] }

0 COMMENTS

We’d like to hear from you!