{"id":171,"date":"2009-07-01T10:58:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=171"},"modified":"2009-07-01T10:58:00","modified_gmt":"1970-01-01T00:00:00","slug":"sql-serverda-trigger-nasil-olusturulur-trigger-kullanarak-bir-tabloda-yapilan-islemler-nas","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2009\/07\/01\/sql-serverda-trigger-nasil-olusturulur-trigger-kullanarak-bir-tabloda-yapilan-islemler-nas\/","title":{"rendered":"SQL Serverda Trigger Nasil Olusturulur, Trigger Kullanarak Bir Tabloda Yapilan islemler Nasil Takip Edilir."},"content":{"rendered":"<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Veritabaninda olusturdunuz tablolar &uuml;zerinde yapilan islemleri takip etmek istiyorsaniz takip etmek istediginiz islem i&ccedil;in bir trigger olusturmaniz gerekir. Eger INSERT islemi i&ccedil;in bir trigger olusturduysaniz, bu tabloya bir insert islemi ger&ccedil;eklestiginde tanimlamis oldugunuz trigger otomatik olarak &ccedil;alisir. Trigger&nbsp;olusturdugunuz tablodaki hareketleri takip edebilir, bunlari e-posta ile aninda g&ouml;nderebilirsiniz. Triggerlar sadece tablolar i&ccedil;in degil view ve stored procedure gibi bir &ccedil;ok sql nesnesi i&ccedil;inde kullanilabilir. Bu makalemizde &ccedil;ok detaya girmeyip basit bir triggerin nasil tanimlanacagina bakacagiz.<\/span><\/p>\n<p style=\"margin-bottom: 0pt;\"><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Urun bilgilerini tuttugumuz basit bir tablomuz olsun. Bu tabloya insert yapildigi zaman, kaydedilen yeni urun bilgisini ekranda g&ouml;sterelim.<\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td valign=\"top\" width=\"565\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 423.6pt; background-color: transparent;\">\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">use<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> Denemeler<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: green; font-family: &quot;Courier New&quot;;\">&#8211;trigger daha &ouml;nce tanimlanmis ise &ouml;nce siliyoruz<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">IF<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: gray;\">EXISTS<\/span><span style=\"color: blue;\"> <\/span><span style=\"color: gray;\">(<\/span><span style=\"color: blue;\">SELECT<\/span> name <span style=\"color: blue;\">FROM<\/span> <span style=\"color: green;\">sysobjects<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">WHERE<\/span> name <span style=\"color: gray;\">=<\/span> <span style=\"color: red;\">&#8216;triggerdemo&#8217;<\/span> <span style=\"color: gray;\">AND<\/span> <span style=\"color: blue;\">type<\/span> <span style=\"color: gray;\">=<\/span> <span style=\"color: red;\">&#8216;TR&#8217;<\/span><span style=\"color: gray;\">)<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">DROP<\/span> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">CREATE<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ON<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> Urun<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">FOR<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">INSERT<\/span> <span style=\"color: green;\">&#8212; hangi islemlerde triggerin &ccedil;alisacagini belirliyoruz, insert, update, delete gibi<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">AS<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">&#8211;trigger &ccedil;alistigi zaman yapmak istedigimiz islemleri bu kisma yazariz.<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">SELECT<\/span> <span style=\"color: gray;\">*<\/span> <span style=\"color: blue;\">FROM<\/span> inserted<\/span><\/p>\n            <p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Triggerimizi olusturduktan sonra Urun tablosuna bir insert islemi yaparsak bize insert ettigimiz kaydi geri d&ouml;nd&uuml;recektir. &Ouml;rnegin Urun tablomuza yapilan update islemlerini takip etmek istiyor ve yapilan updateleri baska bir tabloya atmak istiyorsak yukaridaki triggeri asagidaki hale getirmemiz yeterli olur.<\/span><\/p>\n<p style=\"margin-bottom: 0pt;\"><a href='www.yazilimmutfagi.com'>.<\/a><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><br style=\"\" \/>\n<br style=\"\" \/>\n<\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td valign=\"top\" width=\"565\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 423.6pt; background-color: transparent;\">\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">use<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> Denemeler<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: green; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">IF<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: gray;\">EXISTS<\/span><span style=\"color: blue;\"> <\/span><span style=\"color: gray;\">(<\/span><span style=\"color: blue;\">SELECT<\/span> name <span style=\"color: blue;\">FROM<\/span> <span style=\"color: green;\">sysobjects<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">WHERE<\/span> name <span style=\"color: gray;\">=<\/span> <span style=\"color: red;\">&#8216;triggerdemo&#8217;<\/span> <span style=\"color: gray;\">AND<\/span> <span style=\"color: blue;\">type<\/span> <span style=\"color: gray;\">=<\/span> <span style=\"color: red;\">&#8216;TR&#8217;<\/span><span style=\"color: gray;\">)<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">DROP<\/span> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">CREATE<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ON<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> Urun<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">FOR<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">UPDATE<\/span> <span style=\"color: green;\"><span style=\"\">&nbsp;<\/span><\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">AS<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\"><span style=\"\">&nbsp;<\/span><\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">insert<\/span> <span style=\"color: blue;\">into<\/span> UrunUpdateGecmis<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"\">&nbsp;<\/span><span style=\"color: blue;\">SELECT<\/span> Urunadi<span style=\"color: gray;\">,<\/span>UrunAciklama<span style=\"color: gray;\">,<\/span>ResimUrl<span style=\"color: gray;\">,<\/span>fiyat <span style=\"color: gray;\">,<\/span><span style=\"color: fuchsia;\">getdate<\/span><span style=\"color: gray;\">()<\/span> <span style=\"color: blue;\">as<\/span> Tarih <span style=\"color: blue;\">FROM<\/span> inserted<\/span><\/p>\n            <p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Yukaridaki Sql c&uuml;mleciginde Urun tablosuna bir update islemi ger&ccedil;eklestirildiginde g&uuml;ncellenmis olan kaydi UrunUpdateGecmis tablosuna tarih bilgisi ile atiyoruz. <span style=\"\">&nbsp;<\/span>Burada dikkat ederseniz g&uuml;ncellenmis kaydi yine <strong style=\"\">inserted<\/strong> tablosundan aliyoruz. Bunu sebebi update isleminin &ouml;nce delete sonra insert mantigiyla &ccedil;alismasi. Eger kaydin g&uuml;ncellenmeden &ouml;nceki halini de almak istiyorsak <strong style=\"\">deleted<\/strong> tablosunda alabiliriz.<\/span><\/p>\n<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">&nbsp;<\/span><\/p>\n<p style=\"margin-bottom: 0pt;\"><span style=\"font-size: 10pt; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Bazi durumdalar olusturdugumuz triggerlarin devre disi kalmasini isteyebiliriz. Mesela Urun tablosunda admin yetkisi ile bir toplu update yapacagiz ve bu updateinde ge&ccedil;mis tablosuna atilip veri kirliligine sebep olmasini istemiyoruz. Bu durumda islemimizi yapmadan &ouml;nce triggerlari disable yapar islem bittikten sonrada yeniden enable yaparak sorunumuzu &ccedil;&ouml;zeriz. Bunu i&ccedil;in <\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><br style=\"\" \/>\n&nbsp;<\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td valign=\"top\" width=\"546\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 409.4pt; background-color: transparent;\">\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ALTER<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TABLE<\/span> Urun <span style=\"color: blue;\">DISABLE<\/span> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">update<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> Urun<span style=\"\">&nbsp; <\/span><span style=\"color: blue;\">set<\/span> Fiyat <span style=\"color: gray;\">=<\/span> 2500 <span style=\"color: blue;\">where<\/span> UrunId <span style=\"color: gray;\">=<\/span> 6<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ALTER<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TABLE<\/span> Urun <span style=\"color: blue;\">ENABLE<\/span> <span style=\"color: blue;\">TRIGGER<\/span> triggerdemo<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">GO<\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><br \/>\n<span style=\"font-size: small; font-family: Calibri;\">Yukaridaki SQL c&uuml;mlecigini incelerseniz &ouml;ncelikle triggermiz disable edildi sonra update islemi ger&ccedil;eklesti ve trigger yeniden enable edildi. <\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Eger tablo i&ccedil;in olusturdunuz t&uuml;m triggerlari iptal etmek istiyorsaniz.<\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" style=\"background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\" class=\"MsoTableGrid\">\n    <tbody>\n        <tr style=\"\">\n            <td valign=\"top\" width=\"546\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 409.4pt; background-color: transparent;\">\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ALTER<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TABLE<\/span> Urun <span style=\"color: blue;\">DISABLE<\/span> <span style=\"color: blue;\">TRIGGER<\/span> <span style=\"color: gray;\">ALL<\/span><\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: green; font-family: &quot;Courier New&quot;;\">&#8212;<\/span><\/p>\n            <p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">ALTER<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TABLE<\/span> Urun <span style=\"color: blue;\">ENABLE<\/span> <span style=\"color: blue;\">TRIGGER<\/span><span style=\"\">&nbsp; <\/span><span style=\"color: gray;\">ALL<\/span><\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\">&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Veritabaninda olusturdunuz tablolar &#252;zerinde yapilan islemleri takip etmek istiyorsaniz takip etmek istediginiz islem i&#231;in bir trigger olusturmaniz gerekir. Eger INSERT islemi i&#231;in bir trigger olusturduysaniz, bu tabloya bir insert islemi ger&#231;eklestiginde tanimlamis oldugunuz trigger otomatik olarak<\/p>\n","protected":false},"author":517,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[422],"tags":[6248,6259,6083,5163,6404,5694,5731,6057,6348,5107,6354,4418,4356],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/171"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}