Returns the status and details of a merge operation by its ID.
Rate limit category: Read
Get merge status
package main
import (
"context"
"fmt"
"github.com/Lightfld/lightfield-go"
"github.com/Lightfld/lightfield-go/option"
)
func main() {
client := githubcomlightfldlightfieldgo.NewClient(
option.WithAPIKey("My API Key"),
)
mergeGetMergeResponse, err := client.Merge.GetMerge(context.TODO(), "id")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", mergeGetMergeResponse.ID)
}
{
"id": "id",
"createdAt": "createdAt",
"duplicateId": "duplicateId",
"entityType": "entityType",
"primaryId": "primaryId",
"status": "status",
"updatedAt": "updatedAt"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"duplicateId": "duplicateId",
"entityType": "entityType",
"primaryId": "primaryId",
"status": "status",
"updatedAt": "updatedAt"
}